Limited Zooming - Content shifts sideways
#2
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
Andrej Benedik
  


Messages In This Thread
RE: Limited Zooming - Content shifts sideways - by abenedik - 09-13-2022, 11:13 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)