Fix mousewheel up bug

This commit is contained in:
MikeTheWatchGuy 2018-08-21 20:21:27 -04:00
parent c765f1f6f7
commit 1b0f7488d0
1 changed files with 1 additions and 1 deletions

View File

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