How can I constrain a "on drag"-image pan to the borders of the image?
I would like to pan a image in a dynamic panel. I'm using the "on drag"-method described in the tutorials (https://www.justinmind.com/support/how-to-simulate-a-zoom-and-pan-effect-on-an-image/).
However I would like to constrain the images movement to the size of the image. I don't want the background to show when the image is moved to far. Any ideas?
Best regards Michael