mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 10:20:48 +00:00
Fix issue 313: Canvas does not reflect the change of a layer order
This commit is contained in:
parent
c3a03565fb
commit
97d1acc036
@ -271,4 +271,9 @@ void DocumentView::onTotalFramesChanged(DocumentEvent& ev)
|
||||
}
|
||||
}
|
||||
|
||||
void DocumentView::onLayerRestacked(DocumentEvent& ev)
|
||||
{
|
||||
m_editor->invalidate();
|
||||
}
|
||||
|
||||
} // namespace app
|
||||
|
@ -68,6 +68,7 @@ namespace app {
|
||||
void onAddFrame(DocumentEvent& ev) OVERRIDE;
|
||||
void onRemoveFrame(DocumentEvent& ev) OVERRIDE;
|
||||
void onTotalFramesChanged(DocumentEvent& ev) OVERRIDE;
|
||||
void onLayerRestacked(DocumentEvent& ev) OVERRIDE;
|
||||
|
||||
protected:
|
||||
bool onProcessMessage(ui::Message* msg) OVERRIDE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user