diff options
Diffstat (limited to 'src/ui.c')
| -rw-r--r-- | src/ui.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,4 +1,5 @@ #include "ui.h" +#include "game.h" FloatingWindow createFloatingWindow(const char* title, Rectangle rect) { @@ -185,6 +186,11 @@ FocusCommand updateFloatingWindowNotMinimized(FloatingWindow* window, window->rect.width, window->rect.height - RAYGUI_WINDOWBOX_STATUSBAR_HEIGHT }; + + Color color = GetColor(GuiGetStyle(DEFAULT, BACKGROUND_COLOR)); + color.a = game->settings.nonEditWindowAlpha; + + DrawRectangleRec(scissor, color); } bool requireScissor = window->rect.width < window->contentSize.x |
