mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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
|
||||
});
|
||||
this._changed();
|
||||
if (this._autoUpdate)
|
||||
this.requestUpdate();
|
||||
if (this._autoUpdate) {
|
||||
// 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