Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut behavior - Part 2

This commit is contained in:
DKWoods
2020-07-27 17:07:15 -05:00
parent b615941ee1
commit 0e5cf66fe7

View File

@@ -127,9 +127,9 @@ class ZoomWithMouseWheel():
def OnWheel(self, event):
point = event.Position
if event.GetWheelRotation() < 0:
self.Canvas.Zoom(0.9, point, centerCoords = "pixel", keepPointInPlace=True)
self.Canvas.Zoom(0.9, point, centerCoords = "Pixel", keepPointInPlace=True)
else:
self.Canvas.Zoom(1.1, point, centerCoords = "pixel", keepPointInPlace=True)
self.Canvas.Zoom(1.1, point, centerCoords = "Pixel", keepPointInPlace=True)
class GUIMouse(GUIBase):