Explorar o código

Only zoom in/out with LMB

Equbuxu %!s(int64=4) %!d(string=hai) anos
pai
achega
fe4df3c6fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      PixiEditor/Views/UserControls/ZoomBox.xaml.cs

+ 1 - 1
PixiEditor/Views/UserControls/ZoomBox.xaml.cs

@@ -245,7 +245,7 @@ namespace PixiEditor.Views.UserControls
             }
             else
             {
-                if (ZoomMode == Mode.ZoomTool)
+                if (ZoomMode == Mode.ZoomTool && e.ChangedButton == MouseButton.Left)
                     ZoomInto(e.GetPosition(mainCanvas), Keyboard.IsKeyDown(Key.LeftAlt) ? -1 : 1);
             }
             activeMouseDownEventArgs = null;