Fixed error in call to redrawCursor() and layer

This commit is contained in:
Michael Jumper committed 2011-03-02 17:21:26 -08:00
1 parent 53755b8070
commit 22f6c24f9b
2 files changed
+2 -2

No files matched your search

@@ -112,7 +112,7 @@ function Layer(width, height) {
// Draw all pending updates.
var update;
while ((update = updates[0]).hasHandler()) {
while ((update = updates[0]) != null && update.hasHandler()) {
update.handle();
updates.shift();
}