Bladeren bron

[flash] fix required flash version on flash.ui.Mouse API (closes #9122)

Aleksandr Kuzmenko 5 jaren geleden
bovenliggende
commit
d8f2acac4d
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      std/flash/ui/Mouse.hx

+ 2 - 2
std/flash/ui/Mouse.hx

@@ -3,7 +3,7 @@ package flash.ui;
 extern class Mouse {
 	@:flash.property @:require(flash10) static var cursor(get,set) : Dynamic;
 	@:flash.property @:require(flash10_1) static var supportsCursor(get,never) : Bool;
-	@:flash.property @:require(flash11) static var supportsNativeCursor(get,never) : Bool;
+	@:flash.property @:require(flash10_2) static var supportsNativeCursor(get,never) : Bool;
 	private static function get_cursor() : Dynamic;
 	private static function get_supportsCursor() : Bool;
 	private static function get_supportsNativeCursor() : Bool;
@@ -11,5 +11,5 @@ extern class Mouse {
 	@:require(flash10_2) static function registerCursor(name : String, cursor : MouseCursorData) : Void;
 	private static function set_cursor(value : Dynamic) : Dynamic;
 	static function show() : Void;
-	@:require(flash11) static function unregisterCursor(name : String) : Void;
+	@:require(flash10_2) static function unregisterCursor(name : String) : Void;
 }