mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-14 04:19:12 +00:00
Fix redrawing problems moving several cels or updating several editors after the move
This commit is contained in:
parent
49b3502318
commit
1ee0b0413d
@ -104,6 +104,13 @@ bool MovingCelState::onMouseUp(Editor* editor, MouseMessage* msg)
|
||||
|
||||
transaction.commit();
|
||||
}
|
||||
|
||||
// Redraw all editors. We've to notify all views about this
|
||||
// general update because MovingCelState::onMouseMove() redraws
|
||||
// only the current cel in the current editor. And at this point
|
||||
// we might have moved several cels (and we've to update all the
|
||||
// editors).
|
||||
document->notifyGeneralUpdate();
|
||||
}
|
||||
|
||||
// Restore the mask visibility.
|
||||
|
Loading…
x
Reference in New Issue
Block a user