This commit is contained in:
恍兮惚兮 2024-08-15 03:50:27 +08:00
parent bbe891f02d
commit 366cb3f710

View File

@ -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