01-31-2015 03:02 PM
I am trying to duplicate an image panning operation using the middle mouse scroll wheel depressed while moving the mouse.
Code is pretty simple, but pan occurs in opposite direction of normal pan and opposite to direction of mouse. I have tried a number of options to try to reverse this but none successful.
Thoughts?
Thanks for looking.
Don
02-03-2015 10:18 AM
Hello!
From testing the code, it behaves as I would expect? The default behavior for pan is to sort of "drag" the image to you. If you want the opposite behavior, you could manipulate the output of Last Mouse Position.