mirror of
https://github.com/konvajs/konva.git
synced 2026-01-21 18:51:52 +08:00
Supporting both x, y and offsetX, offsetY under the 'position' option of node property transformsEnabled makes it more useful for real apps. As there is no benefit in making auxiliary variable transformsEnabled a part of the function closure, it is moved inside the local function body itself.