mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-17 17:42:51 +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
|
} // namespace app
|
||||||
|
@ -68,6 +68,7 @@ namespace app {
|
|||||||
void onAddFrame(DocumentEvent& ev) OVERRIDE;
|
void onAddFrame(DocumentEvent& ev) OVERRIDE;
|
||||||
void onRemoveFrame(DocumentEvent& ev) OVERRIDE;
|
void onRemoveFrame(DocumentEvent& ev) OVERRIDE;
|
||||||
void onTotalFramesChanged(DocumentEvent& ev) OVERRIDE;
|
void onTotalFramesChanged(DocumentEvent& ev) OVERRIDE;
|
||||||
|
void onLayerRestacked(DocumentEvent& ev) OVERRIDE;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool onProcessMessage(ui::Message* msg) OVERRIDE;
|
bool onProcessMessage(ui::Message* msg) OVERRIDE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user