mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 14:41:28 +00:00
Fixed a bug where currentCursor variable was assigned a CPNumber instance instead of CPCursor instance.
This commit is contained in:
+2
-1
@@ -116,7 +116,8 @@ var currentCursor = nil,
|
||||
|
||||
- (void)push
|
||||
{
|
||||
currentCursor = cursorStack.push(self);
|
||||
cursorStack.push(self);
|
||||
currentCursor = cursorStack[cursorStack.length - 1];
|
||||
}
|
||||
|
||||
- (void)set
|
||||
|
||||
Reference in New Issue
Block a user