diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-06 10:52:37 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-06 10:52:37 +0200 |
commit | 7fa64b95d0c63b243f50b23c5551a7e04fe90c30 (patch) | |
tree | c77ce6a28fc48e9409bfd7afd674604bfb82d006 /src/ui/color.c | |
parent | 24afe73aae2cedfb43345f014c601539161dded6 (diff) |
Mobile: Dialog styling for phones
Diffstat (limited to 'src/ui/color.c')
-rw-r--r-- | src/ui/color.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/color.c b/src/ui/color.c index 02ee59d6..3c504c14 100644 --- a/src/ui/color.c +++ b/src/ui/color.c | |||
@@ -299,6 +299,10 @@ void setThemePalette_Color(enum iColorTheme theme) { | |||
299 | 0.4f)); | 299 | 0.4f)); |
300 | palette_[uiMarked_ColorId].a = 128; | 300 | palette_[uiMarked_ColorId].a = 128; |
301 | palette_[uiMatching_ColorId].a = 128; | 301 | palette_[uiMatching_ColorId].a = 128; |
302 | if (deviceType_App() == phone_AppDeviceType) { | ||
303 | copy_(uiInputBackground_ColorId, uiBackgroundSidebar_ColorId); | ||
304 | copy_(uiInputFrame_ColorId, uiBackgroundSidebar_ColorId); | ||
305 | } | ||
302 | } | 306 | } |
303 | 307 | ||
304 | iColor get_Color(int color) { | 308 | iColor get_Color(int color) { |