From 62f8292c09e315f4dcb60c3fa3483be0626bd293 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: Thu, 9 May 2024 17:02:10 +0800 Subject: [PATCH] fix --- LunaTranslator/LunaTranslator/gui/textbrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/gui/textbrowser.py b/LunaTranslator/LunaTranslator/gui/textbrowser.py index 418e2b2d..a2fcd738 100644 --- a/LunaTranslator/LunaTranslator/gui/textbrowser.py +++ b/LunaTranslator/LunaTranslator/gui/textbrowser.py @@ -704,7 +704,7 @@ class Textbrowser: label = PlainLabel(p) label.setStyleSheet("color:{}; background-color:(0,0,0,0)".format(c1)) elif globalconfig["zitiyangshi2"] == 5: - label = BorderedLabel(p) + label = ShadowLabel(p) label.setStyleSheet("color:{}; background-color:(0,0,0,0)".format(c2)) label.setShadow(c1, globalconfig["fontsize"], globalconfig["shadowforce"]) return label