Fixed error in call to redrawCursor() and layer
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user