summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 1dfdd99e..3518d97e 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1671,11 +1671,11 @@ void draw_Window(iWindow *d) {
1671 /* App icon. */ 1671 /* App icon. */
1672 const iWidget *appIcon = findChild_Widget(d->root, "winbar.icon"); 1672 const iWidget *appIcon = findChild_Widget(d->root, "winbar.icon");
1673 if (isVisible_Widget(appIcon)) { 1673 if (isVisible_Widget(appIcon)) {
1674 const int size = appIconSize_(); 1674 const int size = appIconSize_();
1675 const iRect rect = bounds_Widget(appIcon); 1675 const iRect rect = bounds_Widget(appIcon);
1676 const iInt2 mid = mid_Rect(rect); 1676 const iInt2 mid = mid_Rect(rect);
1677 const iBool isLight = isLight_ColorTheme(colorTheme_App()); 1677 const iBool isLight = isLight_ColorTheme(colorTheme_App());
1678 iColor iconColor = get_Color(gotFocus || isLight ? white_ColorId : cyan_ColorId); 1678 iColor iconColor = get_Color(gotFocus || isLight ? white_ColorId : uiAnnotation_ColorId);
1679 SDL_SetTextureColorMod(d->appIcon, iconColor.r, iconColor.g, iconColor.b); 1679 SDL_SetTextureColorMod(d->appIcon, iconColor.r, iconColor.g, iconColor.b);
1680 SDL_SetTextureAlphaMod(d->appIcon, gotFocus || !isLight ? 255 : 92); 1680 SDL_SetTextureAlphaMod(d->appIcon, gotFocus || !isLight ? 255 : 92);
1681 SDL_RenderCopy( 1681 SDL_RenderCopy(