Skip to content

Commit

Permalink
minor cursors fixes for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Mar 3, 2012
1 parent c09695f commit 7586934
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions different-versions.bat
@@ -0,0 +1,7 @@
@echo off
haxe different-versions.hxml
if ERRORLEVEL 1 goto :pause
goto :done
:pause
pause
:done
2 changes: 1 addition & 1 deletion manual-tests-src/TestCursorManager.hx
Expand Up @@ -58,7 +58,7 @@ class TestCursorManager extends Sprite
var cursor = new CCursor();

#if !nme
cursor.setSystem(MouseCursor.ARROW)
cursor.setSystem(MouseCursor.ARROW);
#end

_manager.newHover().setTarget(button).setValue(cursor);
Expand Down
2 changes: 1 addition & 1 deletion src/temperate/cursors/CCursor.hx
Expand Up @@ -44,7 +44,7 @@ class CCursor implements ICCursor
{
cast(view, InteractiveObject).mouseEnabled = false;
}
if (Std.is(view, DisplayObjectContainer) != null)
if (Std.is(view, DisplayObjectContainer))
{
cast(view, DisplayObjectContainer).mouseChildren = false;
}
Expand Down

0 comments on commit 7586934

Please sign in to comment.