Remove the alphabetical ordering because it caused issues with kotlin-reflect

This commit is contained in:
Username404 2021-05-27 21:54:34 +02:00
parent 6848b26797
commit b958490580
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 3 deletions

View File

@ -33,9 +33,7 @@ sealed class ButtonImpl: ColoredElement(0.0, 0.0, 73, 8, opacity = 0.60F) {
} }
}.entries.forEach { entry -> }.entries.forEach { entry ->
with(entry) { with(entry) {
entry.value.sortedBy { entry.value.forEach {
it.title
}.forEach {
key?.buttons!!.add(it) key?.buttons!!.add(it)
} }
} }