mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-07-21 12:41:10 +02:00
Address issue #1753, fix FloatCanvas GUIMode GUIZoomIn and GUIZoomOut behavior - Part 2
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user