This commit is contained in:
恍兮惚兮 2024-06-21 20:27:34 +08:00
parent 7a893fbe9f
commit 3dd1cb295b

View File

@ -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"]