mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
parent
78c5c27bb3
commit
fa3456341c
1 changed files with 5 additions and 2 deletions
|
@ -395,8 +395,11 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
||||||
delta: delta
|
delta: delta
|
||||||
});
|
});
|
||||||
this._changed();
|
this._changed();
|
||||||
if (this._autoUpdate)
|
if (this._autoUpdate) {
|
||||||
this.requestUpdate();
|
// Update right away, don't wait for the next animation frame as
|
||||||
|
// otherwise the view would flicker during resizes, see #1126
|
||||||
|
this.update();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue