Hi,
I’m trying to do a map pan by using drag and drop with a Image widget and to do that I have the following setup:
It’s quite straighforwards, I get the mouse local mouse position and substract from that the position where the drag started and the image current translation, then sets the render translation for the image.
The problem
Render Transform Translation for some reason is not returning the same value and makes the image bounce while moving it, I’ve verified the outputs of mouse position, drag start location and both of them are as expected, is this a bug or am I doing something wrong?
Here is a screenshot with the values of each while dragging the mouse slowly: