Open lisa-wolfgang opened 4 years ago
I believe it's an intentional design decision to start out centered around the costume's contents. Remaining off-center even when zoomed out sounds like a bug, however.
I can't reproduce that part--whenever I zoom out, the canvas re-centers itself properly. Mind sharing the costume that's causing the issue for you? (GitHub lets you upload .svgs if you change the file extension to .txt)
:+1: I can reproduce this-- I had to drag it so the rectangular thumbnail was in the center of the editor, but after doing so, it loads in off-center. Here's a demo project.
It seems that the relative centering (and therefore the bug) only occurs when there are multiple objects in the costume. I'll update the initial post.
Let's discuss what the expected behavior should be
Expected Behavior
When zooming in, the center crosshair is in the center of the screen. When zooming back out, the center crosshair is still in the center of the screen.
Actual Behavior
When zooming in on costumes with more than one component that aren't centered, you can see that the view is not centered on the absolute costume center, but the relative costume center: https://u.cubeupload.com/lisa_wolfgang/ZoomBug1.png
Zooming back out isn't centered either: https://u.cubeupload.com/lisa_wolfgang/ZoomBug2.png
The = button does nothing to help. Only scrolling when zoomed out at the maximum level centers the view.
Steps to Reproduce
Operating System and Browser
Windows NT 10.0, Firefox 76.0