diff --git a/src/Avalonia.Controls.PanAndZoom/ZoomBorder.cs b/src/Avalonia.Controls.PanAndZoom/ZoomBorder.cs index b99510c..83abcab 100644 --- a/src/Avalonia.Controls.PanAndZoom/ZoomBorder.cs +++ b/src/Avalonia.Controls.PanAndZoom/ZoomBorder.cs @@ -442,6 +442,7 @@ public void ZoomTo(double ratio, double x, double y, bool skipTransitions = fals { return; } + _updating = true; Log("[ZoomTo]");