Skip to content

Commit 296900c

Browse files
committed
fix: Fix icon style on dark vs light windows theme
1 parent ba96a5b commit 296900c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/window/wndproc.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ void SetWindowIcon(GLFWwindow* window)
117117
ColorScheme colorScheme = GetWindowsColorScheme();
118118

119119
static const std::map<ColorScheme, std::tuple<const unsigned char*, size_t>> iconMap = {
120-
{ ColorScheme::Dark, { windowIconDark, sizeof(windowIconDark) } },
121-
{ ColorScheme::Light, { windowIconLight, sizeof(windowIconLight) } },
120+
{ ColorScheme::Light, { windowIconDark, sizeof(windowIconDark) } },
121+
{ ColorScheme::Dark, { windowIconLight, sizeof(windowIconLight) } },
122122
};
123123

124124
auto& icon = iconMap.at(colorScheme);

0 commit comments

Comments
 (0)