mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
bbe891f02d
commit
366cb3f710
@ -14,6 +14,10 @@ class rangeadjust(Mainw):
|
||||
self.traceposstart = pos
|
||||
|
||||
def traceoffset(self, curr):
|
||||
keystate = windows.GetKeyState(windows.VK_LBUTTON)
|
||||
if keystate < 0 and windows.GetForegroundWindow() == int(self.winId()):
|
||||
self.tracepos = QPoint()
|
||||
return
|
||||
if self._isTracking:
|
||||
self.tracepos = QPoint()
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user