unimailrocks / unimail

unimail makes world domination happen
0 stars 0 forks source link

Make translating containers translate inner elements #42

Open rivertam opened 7 years ago

rivertam commented 7 years ago

whoops

jonsurfs commented 7 years ago

From Slack:

first, the break. Here are the steps to replicate: 1 Create two containers near each other but not nested 2 Put a smaller container in one of those 3 Shift to move the smaller container to the other container 4 Resize the container that has the nested container and then put it inside of the other container 5 Draw a container that encompasses both 6 Add an image to the outermost container 7 Resize the outermost container I got this when I followed those steps (which, once moved away, was totally fine and didn’t break the rules again)

screen shot 2017-05-23 at 10 08 38 am

you can see that I managed to get one on the outside of the other. I know that what I did here is very, very far from a normal use case — it’s just a question of whether there’s any busted logic. Also, this was hard to do — I couldn’t replicate it again (although I can make the inner containers jump a lot on resizing — they’ll move around more significantly than I would expect when I drag the edge of the larger container)

rivertam commented 7 years ago

@jonsurfs this comment actually belongs on #44, so I'll just copy that over.