Rollback text input panel dimensions change
This commit is contained in:
parent
87de48fffe
commit
acd5c06b7a
@ -41,7 +41,7 @@ open class TextInputPanel<out S : Screen>(
|
||||
x: Float = 0f,
|
||||
y: Float = 0f,
|
||||
width: Float = 60f,
|
||||
height: Float = 15f,
|
||||
height: Float = 11f,
|
||||
) : EditablePanel<S>(screen, parent, x, y, width, height) {
|
||||
private data class TextSelection(val cursor: Int, val shift: Int) {
|
||||
val isLeft get() = shift < 0
|
||||
@ -159,7 +159,7 @@ open class TextInputPanel<out S : Screen>(
|
||||
|
||||
init {
|
||||
scissor = true
|
||||
dockPadding = DockProperty(3f, 3f, 3f, 3f)
|
||||
dockPadding = DockProperty(3f, 2f, 3f, 2f)
|
||||
}
|
||||
|
||||
private var oldText = ArrayList<String>()
|
||||
|
Loading…
Reference in New Issue
Block a user