mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Pass true for checkRedraw in View#draw() everywhere.
This commit is contained in:
parent
596cc8f83b
commit
bf73369423
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ var View = this.View = Base.extend({
|
|||
if (that._onFrameCallback) {
|
||||
that._onFrameCallback(0, true);
|
||||
} else {
|
||||
that.draw();
|
||||
that.draw(true);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -328,7 +328,7 @@ var View = this.View = Base.extend({
|
|||
});
|
||||
before = now;
|
||||
// Automatically draw view on each frame.
|
||||
that.draw();
|
||||
that.draw(true);
|
||||
};
|
||||
// Call the onFrame handler straight away, initializing the sequence
|
||||
// of onFrame calls.
|
||||
|
|
Loading…
Reference in a new issue