Nicolas Cannasse 6 년 전
부모
커밋
0a05f7ba29
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;