Pass true for checkRedraw in View#draw() everywhere.

This commit is contained in:
Jürg Lehni 2011-06-19 23:05:39 +01:00
parent 596cc8f83b
commit bf73369423

View file

@ -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.