Adjust center position of new scale wrt previous scale, not 1.
Tested locally and this now works correctly. A simple example: if you're already on scale 2, and trying to set the scale to 2 again, simply glancing through the previous code, you can see that it will move the origin when it shouldn't at all.
Hi @avshenuk, thank you! This looks good. I just need to test whether it is a breaking change or not.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
This PR is stale because it has been open 60 days with no activity. Please remove stale label or comment or this will be closed in 14 days.
Sorry for the delay. It is a breaking fix and it was addressed here: https://github.com/clientIO/joint/pull/2495 Thanks for pointing that out.