From acd5c06b7a43cebb11785820ab102f07e8db5d3b Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 16 Nov 2024 11:17:17 +0700 Subject: [PATCH] Rollback text input panel dimensions change --- .../mc/otm/client/screen/panels/input/TextInputPanel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt index 8c66f1ac3..f8876b02a 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/input/TextInputPanel.kt @@ -41,7 +41,7 @@ open class TextInputPanel( x: Float = 0f, y: Float = 0f, width: Float = 60f, - height: Float = 15f, + height: Float = 11f, ) : EditablePanel(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( init { scissor = true - dockPadding = DockProperty(3f, 3f, 3f, 3f) + dockPadding = DockProperty(3f, 2f, 3f, 2f) } private var oldText = ArrayList()