From 62112fb75dd3321ff159321766ac2bc16dd66f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:04:39 +0800 Subject: [PATCH] . --- LunaTranslator/LunaTranslator/LunaTranslator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/LunaTranslator.py b/LunaTranslator/LunaTranslator/LunaTranslator.py index 509e875e..9a539d21 100644 --- a/LunaTranslator/LunaTranslator/LunaTranslator.py +++ b/LunaTranslator/LunaTranslator/LunaTranslator.py @@ -1045,7 +1045,7 @@ class MAINUI: while True: # 会触发两次 windows.WaitForSingleObject(sema, windows.INFINITE) - if globalconfig["darklight"] == 2: + if globalconfig["darklight2"] == 0: self.__commonstylebase.setstylesheetsignal.emit() windows.WaitForSingleObject(sema, windows.INFINITE)