mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 12:40:34 +00:00
Fix bug moving a cel, flattening all layers, and then undoing (fix #3416)
The m_boundsF position read from doc::read_celdata() was overwritting the position of the cel when it was restored from the undo information.
This commit is contained in:
parent
62c052dd40
commit
9a3958278b
@ -34,6 +34,8 @@ namespace doc {
|
||||
|
||||
void setPosition(const gfx::Point& pos) {
|
||||
m_bounds.setOrigin(pos);
|
||||
if (m_boundsF)
|
||||
m_boundsF->setOrigin(gfx::PointF(pos));
|
||||
}
|
||||
|
||||
void setOpacity(int opacity) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user