Nicolas Cannasse 6 years ago
parent
commit
0a05f7ba29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hxd/System.js.hx

+ 1 - 1
hxd/System.js.hx

@@ -61,7 +61,7 @@ class System {
 	}
 
 	public static function setNativeCursor( c : Cursor ) : Void {
-		if( c.equals(currentNativeCursor) )
+		if( currentNativeCursor != null && c.equals(currentNativeCursor) )
 			return;
 		currentNativeCursor = c;
 		currentCustomCursor = null;