mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Use white menubar on Windows in lightmode (#1590)
This commit is contained in:
parent
e3bfc86f50
commit
0e21c49f58
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ class ThemeManager:
|
||||||
buf += f"""
|
buf += f"""
|
||||||
QMenuBar {{
|
QMenuBar {{
|
||||||
border-bottom: 1px solid {self.color(colors.BORDER)};
|
border-bottom: 1px solid {self.color(colors.BORDER)};
|
||||||
background: {self.color(colors.WINDOW_BG)};
|
background: {self.color(colors.WINDOW_BG) if self.night_mode else "white"};
|
||||||
}}
|
}}
|
||||||
"""
|
"""
|
||||||
# qt bug? setting the above changes the browser sidebar
|
# qt bug? setting the above changes the browser sidebar
|
||||||
|
|
Loading…
Reference in a new issue