mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34: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.