From 3a67fdac9fd32d5576da5b6c3b8e6aa4f19ff87f Mon Sep 17 00:00:00 2001 From: cxntered Date: Thu, 11 Jul 2024 03:51:22 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20make=20text=20input=20ico?= =?UTF-8?q?n=20visible=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../textreplacer/elements/ReplacerReplacementTextField.kt | 2 +- .../dev/cxntered/textreplacer/elements/ReplacerTextField.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerReplacementTextField.kt b/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerReplacementTextField.kt index ffe91b9..96ccda0 100644 --- a/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerReplacementTextField.kt +++ b/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerReplacementTextField.kt @@ -8,7 +8,7 @@ import dev.cxntered.textreplacer.config.Replacer @Suppress("UnstableAPIUsage") class ReplacerReplacementTextField( private val replacer: Replacer -) : TextInputField(432, 32, "Replacement text", false, false, SVGs.TEXT_INPUT) { +) : TextInputField(432, 32, "Replacement text", false, false, SVGs.TEXT_INPUT, 12F) { override fun draw(vg: Long, x: Float, y: Float, inputHandler: InputHandler) { input = replacer.replacementText diff --git a/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerTextField.kt b/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerTextField.kt index 57b72c0..f001d5d 100644 --- a/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerTextField.kt +++ b/src/main/kotlin/dev/cxntered/textreplacer/elements/ReplacerTextField.kt @@ -8,7 +8,7 @@ import dev.cxntered.textreplacer.config.Replacer @Suppress("UnstableAPIUsage") class ReplacerTextField( private val replacer: Replacer -) : TextInputField(432, 32, "Text to replace", false, false, SVGs.TEXT_INPUT) { +) : TextInputField(432, 32, "Text to replace", false, false, SVGs.TEXT_INPUT, 12F) { override fun draw(vg: Long, x: Float, y: Float, inputHandler: InputHandler) { input = replacer.text