You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user clicks a costume in the paint editor, the sprite's bounds should always be updated to match the costume.
Actual Behavior
When the user clicks a costume in the paint editor, the sprite's bounds are updated to match the costume ONLY if the new costume's width and height are both non-zero.
Steps to Reproduce
Create or edit a project which uses the pen extension
One "normal" costume where width and height are both non-zero
Move the rotation center outside the costume for the "normal" costume
Activate the "normal" costume and use pen down and go to random position to see fencing behavior
While the project is running, switch to the other costume.
Expected: the sprite (Drawable) is fenced according to the new 1x1 ImageData
Actual: the sprite (Drawable) is fenced according to the previous "good" costume
The problem goes away after using the paint editor to adjust the rotation center of the zero-width / zero-height costume.
Expected Behavior
When the user clicks a costume in the paint editor, the sprite's bounds should always be updated to match the costume.
Actual Behavior
When the user clicks a costume in the paint editor, the sprite's bounds are updated to match the costume ONLY if the new costume's width and height are both non-zero.
Steps to Reproduce
pen down
andgo to random position
to see fencing behaviorExpected: the sprite (Drawable) is fenced according to the new 1x1 ImageData
Actual: the sprite (Drawable) is fenced according to the previous "good" costume
The problem goes away after using the paint editor to adjust the rotation center of the zero-width / zero-height costume.
Example (thanks @fsih!)
The text was updated successfully, but these errors were encountered: