mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
...
This commit is contained in:
parent
043e551094
commit
8811756ce7
@ -679,8 +679,8 @@ class QUnFrameWindow(resizableframeless):
|
|||||||
def set_color_transparency(self):
|
def set_color_transparency(self):
|
||||||
|
|
||||||
use_r1 = min(
|
use_r1 = min(
|
||||||
self.translate_text.textbrowser.height() // 2,
|
self.translate_text.height() // 2,
|
||||||
self.translate_text.textbrowser.width() // 2,
|
self.translate_text.width() // 2,
|
||||||
globalconfig["yuanjiao_r"],
|
globalconfig["yuanjiao_r"],
|
||||||
)
|
)
|
||||||
use_r2 = min(
|
use_r2 = min(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user