09-13-2022, 11:13 AM
The problem was that when the zooming was limited, the new center position was not correctly calculated (center position was moved as the zoom was not limited). The fix was to adjust moving the center position for the amount that was a fraction of the whole move - the same fraction as the actually performed zooming.
The new source code with the fix is here:
https://github.com/ab4d/Ab2d.Controls.Zo...ng.xaml.cs
The new source code with the fix is here:
https://github.com/ab4d/Ab2d.Controls.Zo...ng.xaml.cs
Andrej Benedik