Open lemmeviewthecode opened 1 week ago
Show us something concrete to reproduce this, not "eventually, you will come across the same issue."
acknowledged, the issue has been edited with steps to reproduce it, including footage of the bug in action.
Expected Behavior
After resizing the stage, everything should act just as it was without resizing in the costume editor, just with an increased aspect ratio.
Actual Behavior
collision detection is slightly off depending on how far to the left or right you are in the costume editor. this also affects the pen tool, which is the easiest way to find this bug. (might possibly be caused by an incorrect multiplication in the code, but i'm not that much of a programmer, so I'm not sure.)
here's a video of the bug in effect: Screen recording 2024-11-04 3.19.02 PM.webm
Steps to Reproduce
pen method
switch to the pen tool
observe. the pen will be offset from the cursor.
scaling method
draw a vector costume with multiple shapes on each side of the screen. preferably to the point where they're either off-screen or nearly off-screen. alternatively, simply upload this SVG:
resize the stage to "widescreen" (640x360) or larger.
attempt to scale the shapes either vertically or horizontally, or try to use the reshape tool on them. you'll notice that your clicks are somewhat offset on the horizontal axis. if you used the SVG provided, try adjusting some points on the stars next to "P1".
Operating System and Browser
Google ChromeOS Version 129.0.6668.112 (Official Build) (64-bit), Chrome 129 on Chrome OS 14541