Kaynağa Gözat

Setup KeyLoaction.D_PAD for dox problem. (#9605)

nanjizal 5 yıl önce
ebeveyn
işleme
64c5ec4615
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      std/flash/events/KeyboardEvent.hx

+ 1 - 1
std/flash/events/KeyboardEvent.hx

@@ -7,7 +7,7 @@ extern class KeyboardEvent extends Event {
 	@:flash.property var keyCode(get,set) : UInt;
 	@:flash.property var keyLocation(get,set) : flash.ui.KeyLocation;
 	@:flash.property var shiftKey(get,set) : Bool;
-	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCodeValue : UInt = 0, keyCodeValue : UInt = 0, keyLocationValue : flash.ui.KeyLocation = 0, ctrlKeyValue : Bool = false, altKeyValue : Bool = false, shiftKeyValue : Bool = false) : Void;
+	function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCodeValue : UInt = 0, keyCodeValue : UInt = 0, keyLocationValue : flash.ui.KeyLocation = flash.ui.KeyLocation.D_PAD, ctrlKeyValue : Bool = false, altKeyValue : Bool = false, shiftKeyValue : Bool = false) : Void;
 	private function get_altKey() : Bool;
 	private function get_charCode() : UInt;
 	private function get_ctrlKey() : Bool;