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;