mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
323d0e65db
commit
a32a913563
@ -396,7 +396,7 @@ class TextBrowser(QWidget, dataget):
|
|||||||
fha, _ = self._getfh(True)
|
fha, _ = self._getfh(True)
|
||||||
self.extra_height = fha
|
self.extra_height = fha
|
||||||
if fh < 0:
|
if fh < 0:
|
||||||
self.extra_height = max(-fh, self.extra_height)
|
self.extra_height = -fh + self.extra_height
|
||||||
for i in range(b1, b2):
|
for i in range(b1, b2):
|
||||||
_fha = 0
|
_fha = 0
|
||||||
for word in linetags[i - b1]:
|
for word in linetags[i - b1]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user