Set insertInFront to false in ConfigScreen.kt

This commit is contained in:
Username404 2021-05-31 22:31:34 +02:00
parent 439a6f73e4
commit f4203bcd16
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ val SnowyConfigScreen: Screen get() {
).addEntry(startStrList(
TranslatableComponent(Category.MACROS.translationKey),
macrosButtons.map { it.run { "$title: $command" } }
).setDefaultValue(Configuration.foundMacros.map { "${it.title}: ${it.command}" }).setErrorSupplier { list ->
).setInsertInFront(false).setDefaultValue(Configuration.foundMacros.map { "${it.title}: ${it.command}" }).setErrorSupplier { list ->
supplyComponent(if (list.size > buttonsMax) "$confPrefix.general.macros.toomuchbuttons" else null)
}.setCellErrorSupplier {
with(it.split(":")) {