Fixed a bug where currentCursor variable was assigned a CPNumber instance instead of CPCursor instance.

This commit is contained in:
Adam Sowinski
2013-10-21 00:26:27 +01:00
parent bb6b5c1232
commit 8971972a28
+2 -1
View File
@@ -116,7 +116,8 @@ var currentCursor = nil,
- (void)push
{
currentCursor = cursorStack.push(self);
cursorStack.push(self);
currentCursor = cursorStack[cursorStack.length - 1];
}
- (void)set