mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
color
This commit is contained in:
parent
7a893fbe9f
commit
3dd1cb295b
@ -253,9 +253,9 @@ class QUnFrameWindow(resizableframeless):
|
||||
for name in self.buttons:
|
||||
if name in colorstate:
|
||||
color = (
|
||||
globalconfig["buttoncolor_1"]
|
||||
globalconfig["buttoncolor"]
|
||||
if colorstate[name]
|
||||
else globalconfig["buttoncolor"]
|
||||
else globalconfig["buttoncolor_1"]
|
||||
)
|
||||
else:
|
||||
color = globalconfig["buttoncolor"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user