This commit is contained in:
恍兮惚兮 2024-09-02 09:17:51 +08:00
parent 2c939fb84b
commit b6b82406c1

View File

@ -5,7 +5,7 @@ from rendertext.textbrowser_imp.base import base
class TextLine(base): class TextLine(base):
def colorpair(self): def colorpair(self):
return QColor(self.config["fillcolor"]), QColor(self.basecolor) return QColor(self.basecolor), QColor(self.config["fillcolor"])
def paintText(self, painter: QPainter): def paintText(self, painter: QPainter):
self.m_outLineColor, self.m_contentColor = self.colorpair() self.m_outLineColor, self.m_contentColor = self.colorpair()