mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Doc: point to the correct performance test url.
This commit is contained in:
parent
eee5e63a72
commit
1261dc03df
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ Doc = Base.extend({
|
|||
if (this.canvas) {
|
||||
// Initial tests conclude that clearing the canvas using clearRect
|
||||
// is always faster than setting canvas.width = canvas.width
|
||||
// http://jsperf.com/clearrect-vs-setting-width/
|
||||
// http://jsperf.com/clearrect-vs-setting-width/7
|
||||
var view = this.activeView;
|
||||
var bounds = view.bounds;
|
||||
this.ctx.clearRect(0, 0, this.size.width + 1, this.size.height + 1);
|
||||
|
|
Loading…
Reference in a new issue