bstouls 8 éve
szülő
commit
75b43cb508
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      h2d/TextInput.hx

+ 4 - 0
h2d/TextInput.hx

@@ -109,6 +109,10 @@ class TextInput extends Text {
 		addChildAt(interactive, 0);
 		addChildAt(interactive, 0);
 	}
 	}
 
 
+	override function constraintSize(width:Float, height:Float) {
+		// disable (don't allow multiline textinput for now)
+	}
+
 	function handleKey( e : hxd.Event ) {
 	function handleKey( e : hxd.Event ) {
 		if( e.cancel || cursorIndex < 0 )
 		if( e.cancel || cursorIndex < 0 )
 			return;
 			return;