Update utils.py

This commit is contained in:
恍兮惚兮 2024-04-24 18:24:09 +08:00
parent 7144148074
commit cf8a13cfa1

View File

@ -436,7 +436,8 @@ def minmaxmoveobservefunc(self):
gobject.baseobject.translation_ui.settop()
else:
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(
gobject.baseobject.textsource.hwnd
):