Fix mousewheel up bug
This commit is contained in:
parent
c765f1f6f7
commit
1b0f7488d0
|
@ -1047,7 +1047,7 @@ class FlexForm:
|
|||
def MouseWheelCallback(self, event ):
|
||||
self.LastButtonClicked = None
|
||||
self.FormRemainedOpen = True
|
||||
self.LastKeyboardEvent = 'MouseWheel:' + 'Down' if event.delta < 0 else 'Up'
|
||||
self.LastKeyboardEvent = 'MouseWheel:Down' if event.delta < 0 else 'MouseWheel:Up'
|
||||
if not self.NonBlocking:
|
||||
BuildResults(self, False, self)
|
||||
self.TKroot.quit()
|
||||
|
|
Loading…
Reference in New Issue