mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
rm
This commit is contained in:
parent
da45254a81
commit
8a68205f98
@ -13,20 +13,6 @@ class QGraphicsDropShadowEffect_multi(QGraphicsDropShadowEffect):
|
||||
|
||||
|
||||
class TextLine(TextLabel_0):
|
||||
def moveoffset(self):
|
||||
font = self.font()
|
||||
fontOutLineWidth = (
|
||||
font.pointSizeF() * self.config["shadowR"] + self.config["shadowR_ex"]
|
||||
)
|
||||
return fontOutLineWidth, fontOutLineWidth
|
||||
|
||||
def extraWH(self):
|
||||
font = self.font()
|
||||
fontOutLineWidth = (
|
||||
font.pointSizeF() * self.config["shadowR"] + self.config["shadowR_ex"]
|
||||
)
|
||||
fontOutLineWidth *= 2
|
||||
return fontOutLineWidth, fontOutLineWidth
|
||||
|
||||
def usingcolor(self):
|
||||
return QColor(self.config["fillcolor"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user