mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-20 18:40:57 +00:00
Fix cel and layer user data text input do not update when a fast layer change happen.
This commit is contained in:
parent
db80c2a07e
commit
08f63f1b02
@ -229,6 +229,7 @@ private:
|
||||
|
||||
// ContextObserver impl
|
||||
void onActiveSiteChange(const Site& site) override {
|
||||
onCommitChange();
|
||||
if (isVisible())
|
||||
setCel(const_cast<Doc*>(site.document()),
|
||||
const_cast<Cel*>(site.cel()));
|
||||
|
@ -286,6 +286,7 @@ private:
|
||||
|
||||
// ContextObserver impl
|
||||
void onActiveSiteChange(const Site& site) override {
|
||||
onCommitChange();
|
||||
if (isVisible())
|
||||
setLayer(const_cast<Doc*>(site.document()),
|
||||
const_cast<Layer*>(site.layer()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user