ey6es / phantasml

Web-based collaborative "creature lab" for machine learning/AI research and education.
https://www.phantasml.com
MIT License
2 stars 3 forks source link

Debug undo weirdness #28

Closed ey6es closed 5 years ago

ey6es commented 5 years ago

Undoing is subject to general, seemingly unpredictable inconsistency (for instance, the bottom of the undo stack doesn't necessary correspond to the original state of the resource). I will have to figure out a way to reproduce and debug this.

ey6es commented 5 years ago

One easily reproducible case: open the color dialog for the background, select one color, then another before pressing "Select." Undo doesn't revert to the original color.

ey6es commented 5 years ago

That one was relatively easy to fix, but another: make a rectangle using the rectangle tool, then change its rotation by mouse-wheeling over the rotation field; undo undoes rotation, but subsequent undo doesn't remove rectangle.