Closed RomanSoloweow closed 4 years ago
You can set property EnableConstrains=true
and set properties for required zoom limits MinZoomX
, MaxZoomX
, MinZoomY
, MaxZoomY
.
I think you misunderstood this issue. When MinZoom is set for X and Y, if you keep trying to zoom out after reaching the min zoom, it will pan the view in an undefined way
I am still having the same problem, when reaches the MaxZoom, if i keep trying to zoom in, it will pan to another place.
I already setted the property EnableConstrains=true
and the properties MinZoomX
, MaxZoomX
, MinZoomY
, MaxZoomY
.
After reaching max or min zoom on MouseWheel we have some translate for our elements.
I think this is because we continue to set CenterX and CenterY for ScaleTransform after reaching max or min.
We need just block it if zoom value already max or min.