This commit is contained in:
恍兮惚兮 2024-06-21 22:11:46 +08:00
parent 0a69b984df
commit fc044f41fb
2 changed files with 4 additions and 4 deletions

View File

@ -253,9 +253,9 @@ class QUnFrameWindow(resizableframeless):
for name in self.buttons: for name in self.buttons:
if name in colorstate: if name in colorstate:
color = ( color = (
globalconfig["buttoncolor"] globalconfig["buttoncolor_1"]
if colorstate[name] if colorstate[name]
else globalconfig["buttoncolor_1"] else globalconfig["buttoncolor"]
) )
else: else:
color = globalconfig["buttoncolor"] color = globalconfig["buttoncolor"]

View File

@ -475,10 +475,10 @@
"accept_use_unicode_start": 0, "accept_use_unicode_start": 0,
"accept_use_unicode_end": 65535, "accept_use_unicode_end": 65535,
"premtsimiuse": false, "premtsimiuse": false,
"buttoncolor": "#FF69B4", "buttoncolor": "#001f9f",
"buttoncolor2": "#FF69B4", "buttoncolor2": "#FF69B4",
"buttoncolor3": "#afafaf", "buttoncolor3": "#afafaf",
"buttoncolor_1": "#afafaf", "buttoncolor_1": "#FF69B4",
"premtsimi2": 100, "premtsimi2": 100,
"ocrrangecolor": "#000000", "ocrrangecolor": "#000000",
"ocrrangewidth": 2, "ocrrangewidth": 2,