mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
Update utils.py
This commit is contained in:
parent
7144148074
commit
cf8a13cfa1
@ -436,7 +436,8 @@ def minmaxmoveobservefunc(self):
|
|||||||
gobject.baseobject.translation_ui.settop()
|
gobject.baseobject.translation_ui.settop()
|
||||||
else:
|
else:
|
||||||
gobject.baseobject.translation_ui.thistimenotsetop = True
|
gobject.baseobject.translation_ui.thistimenotsetop = True
|
||||||
gobject.baseobject.translation_ui.canceltop()
|
if gobject.baseobject.translation_ui.istopmost():
|
||||||
|
gobject.baseobject.translation_ui.canceltop()
|
||||||
if _focusp != windows.GetWindowThreadProcessId(
|
if _focusp != windows.GetWindowThreadProcessId(
|
||||||
gobject.baseobject.textsource.hwnd
|
gobject.baseobject.textsource.hwnd
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user