Skip to content

Commit 2948a38

Browse files
committed
Sort Modules in lambda click ui by name
1 parent e5d5fee commit 2948a38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/com/lambda/gui/components/ClickGuiLayout.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ object ClickGuiLayout : Loadable, Configurable(GuiConfig) {
202202
window(tag.name, flags = AlwaysAutoResize) {
203203
ModuleRegistry.modules
204204
.filter { it.tag == tag }
205+
.sortedBy { it.name }
205206
.forEach { with(ModuleEntry(it)) { buildLayout() } }
206207
}
207208
}

0 commit comments

Comments
 (0)