Skip to content

Commit

Permalink
🐛 fix: make text input icon visible again
Browse files Browse the repository at this point in the history
  • Loading branch information
cxntered committed Jul 10, 2024
1 parent 251540b commit 3a67fda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a67fda

Please sign in to comment.