Improve how zooming function is handled.
Currently using a modified Zoomborder.cs from https://stackoverflow.com/a/6782715/13646636 but it needs to not allow image to be dragged outside of its parent container.
Describe the solution you'd like
Hopefully something that works with both vertical and horizontal scrolling when zoomed in.
Currently looking at https://stackoverflow.com/a/60515117/13646636
Additional context
Disable scaling (when Ctrl is held down). Don't allow it to work with normal scrolling, as that wouldn't make much sense and be too much of a head ache.
Improve how zooming function is handled. Currently using a modified Zoomborder.cs from https://stackoverflow.com/a/6782715/13646636 but it needs to not allow image to be dragged outside of its parent container.
Describe the solution you'd like Hopefully something that works with both vertical and horizontal scrolling when zoomed in. Currently looking at https://stackoverflow.com/a/60515117/13646636
Additional context Disable scaling (when
Ctrl
is held down). Don't allow it to work with normal scrolling, as that wouldn't make much sense and be too much of a head ache.