I have a Pane in a Group in a ScrollPane. I am attempting to implement mouse-relative zooming with the mouse-wheel for the Pane, but am unable to achieve it.
I was hoping it would be as simple as this: http://awhite.blogspot.fi/2013/02/javafx-pan-zoom.html, but for some incomprehensible reason, the Scale simply completely ignores the pivot point.. it is always at center.
I can post some code if needed.. but it doesn't differ much from the one in the article. Does anyone have idea why the Scale-object ignores the pivot point?