When any of the 4 corner handles of the image is dragged, the image should scale proportionally either up or down.
Problem: With my current attempt as shown in the jsfiddle linked below, when the topLeft
handles are dragged vertically, the image rescales proportionally, but the other handles flicker. When the same topLeft
handle is dragged horizontally, the image simply moves without resizing.
How can proportional scaling be implemented with KineticJS? Thank you!!!
jsfiddle: http://jsfiddle.net/zb3Km/