diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/util.c | 2 | ||||
-rw-r--r-- | src/ui/window.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index 354b1467..ae72dbee 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -841,7 +841,7 @@ iWidget *makeMenu_Widget(iWidget *parent, const iMenuItem *items, size_t n) { | |||
841 | (isPortraitPhone_App() ? drawBackgroundToVerticalSafeArea_WidgetFlag : 0), | 841 | (isPortraitPhone_App() ? drawBackgroundToVerticalSafeArea_WidgetFlag : 0), |
842 | iTrue); | 842 | iTrue); |
843 | if (!isPortraitPhone_App()) { | 843 | if (!isPortraitPhone_App()) { |
844 | setFrameColor_Widget(menu, uiSeparator_ColorId); | 844 | setFrameColor_Widget(menu, uiBackgroundSelected_ColorId); |
845 | } | 845 | } |
846 | makeMenuItems_Widget(menu, items, n); | 846 | makeMenuItems_Widget(menu, items, n); |
847 | addChild_Widget(parent, menu); | 847 | addChild_Widget(parent, menu); |
diff --git a/src/ui/window.c b/src/ui/window.c index ea783331..569ec919 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -1192,8 +1192,8 @@ void draw_Window(iWindow *d) { | |||
1192 | drawCount_ = 0; | 1192 | drawCount_ = 0; |
1193 | #endif | 1193 | #endif |
1194 | } | 1194 | } |
1195 | drawRectThickness_Paint( | 1195 | drawRectThickness_Paint(&p, (iRect){ zero_I2(), sub_I2(d->size, one_I2()) }, gap_UI / 4, |
1196 | &p, (iRect){ zero_I2(), sub_I2(d->size, one_I2()) }, gap_UI / 4, uiSeparator_ColorId); | 1196 | uiBackgroundSelected_ColorId); |
1197 | setCurrent_Root(NULL); | 1197 | setCurrent_Root(NULL); |
1198 | SDL_RenderPresent(d->render); | 1198 | SDL_RenderPresent(d->render); |
1199 | } | 1199 | } |