From b6b82406c1d093ddfbbc3997b8937e70c4f6812f 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, 2 Sep 2024 09:17:51 +0800 Subject: [PATCH] fix --- .../LunaTranslator/rendertext/textbrowser_imp/miaobian0.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py b/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py index 50fc7c52..a42fc0b2 100644 --- a/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py +++ b/LunaTranslator/LunaTranslator/rendertext/textbrowser_imp/miaobian0.py @@ -5,7 +5,7 @@ from rendertext.textbrowser_imp.base import base class TextLine(base): def colorpair(self): - return QColor(self.config["fillcolor"]), QColor(self.basecolor) + return QColor(self.basecolor), QColor(self.config["fillcolor"]) def paintText(self, painter: QPainter): self.m_outLineColor, self.m_contentColor = self.colorpair()