bstouls 8 tahun lalu
induk
melakukan
75b43cb508
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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;