mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
fix
This commit is contained in:
parent
bbe891f02d
commit
366cb3f710
@ -14,6 +14,10 @@ class rangeadjust(Mainw):
|
|||||||
self.traceposstart = pos
|
self.traceposstart = pos
|
||||||
|
|
||||||
def traceoffset(self, curr):
|
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:
|
if self._isTracking:
|
||||||
self.tracepos = QPoint()
|
self.tracepos = QPoint()
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user