Nicolas Cannasse 6 năm trước cách đây
mục cha
commit
0a05f7ba29
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;