mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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) {
|
if (that._onFrameCallback) {
|
||||||
that._onFrameCallback(0, true);
|
that._onFrameCallback(0, true);
|
||||||
} else {
|
} else {
|
||||||
that.draw();
|
that.draw(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -328,7 +328,7 @@ var View = this.View = Base.extend({
|
||||||
});
|
});
|
||||||
before = now;
|
before = now;
|
||||||
// Automatically draw view on each frame.
|
// Automatically draw view on each frame.
|
||||||
that.draw();
|
that.draw(true);
|
||||||
};
|
};
|
||||||
// Call the onFrame handler straight away, initializing the sequence
|
// Call the onFrame handler straight away, initializing the sequence
|
||||||
// of onFrame calls.
|
// of onFrame calls.
|
||||||
|
|
Loading…
Reference in a new issue