daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!
https://daybrush.com/moveable/
MIT License
10.08k stars 618 forks source link

`onScaleGroup` event ignores group elements' scale value #1020

Open imalgrab opened 1 year ago

imalgrab commented 1 year ago

Environments

Description

When scaling a group of elements with one element already scaled on y-axis (in this case y-axis is negative: scale(1, -1)) alongside the x-axis with keepRatio property set to true I'm having this element's scale ignored and having this event using scale(1, 1) no matter what.

Is there a way to change the default scale for that onScaleGroup event?

https://github.com/daybrush/moveable/assets/33524510/fdf1fb9e-1f1b-4d1d-9432-8515d4c75611

daybrush commented 1 year ago

@imalgrab

It is scheduled to be released next week.

cyhnkckali commented 1 year ago

I'm curious about this too

stxdamianklimarczyk commented 1 year ago

Hi @daybrush, are there any updates abut it? Thanks up front!

daybrush commented 12 months ago

@stxdamianklimarczyk @cyhnkckali @imalgrab @talhakaanozkan

moveable's new version is released. Check it again.