konva icon indicating copy to clipboard operation
konva copied to clipboard

Path scales incorrectly?

Open nabati opened this issue 3 years ago • 1 comments

I'm not sure entirely what the issue is here but seems like when you use Konva.Path together with scaling, the size of the scaled shape ends up incorrect.

The path itself is drawn correctly, but the group now has a padding on the lefthand side.

image

Repro: https://codesandbox.io/s/scaling-todataurl-h9f8r?file=/src/index.js

Have I missed something?

nabati avatar Feb 03 '22 14:02 nabati

Updated the example, image

nabati avatar Feb 03 '22 15:02 nabati

Closing, as I am not sure what is the issue about. Please add more details if it is still relevant.

lavrton avatar Nov 02 '23 23:11 lavrton