mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
2c939fb84b
commit
b6b82406c1
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user