2
0
bstouls 8 жил өмнө
parent
commit
75b43cb508
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      h2d/TextInput.hx

+ 4 - 0
h2d/TextInput.hx

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