Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Grouped objects don't scale properly

1484706162

Edited 1484706712
plexsoup
Marketplace Creator
Sheet Author
API Scripter
When I group images and scale them, they hold the correct shape during the scaling procedure, then lose their shape immediately when the mouse button is released. (Each object is scaled along their own original y-axis instead of the new parent's y-axis) Video here This might be a problem with the fabric.js library, but hopefully it's an easy fix by declaring one object the parent or container. Here's a jsfiddle of how it could work..&nbsp; <a href="http://jsfiddle.net/1r7hscx0/" rel="nofollow">http://jsfiddle.net/1r7hscx0/</a>
Try holding alt down when you scale.
1484713142
plexsoup
Marketplace Creator
Sheet Author
API Scripter
Thanks for the tip. Unfortunately, I just tried that and it still behaves the same way.
1484731969
plexsoup
Marketplace Creator
Sheet Author
API Scripter
I found a relevant stackoverflow article about it. So it's probably an easy fix.&nbsp; To force scaling to happen after rotation, you can wrap ptnGroup in another group and apply the scale to the outer group <a href="http://stackoverflow.com/questions/41627169/fabric" rel="nofollow">http://stackoverflow.com/questions/41627169/fabric</a>...
1485808894
Gid
Roll20 Team
My apologies for the delay on my response to this. This past week I was in the process of completely restructuring our bug ticket system to be, hopefully, more orderly. I've added a ticket for this issue. Thank you for bringing this to our attention.