We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Show Keybind
1 parent 94a8f3c commit cb85f97Copy full SHA for cb85f97
src/main/kotlin/com/lambda/module/hud/ModuleList.kt
@@ -29,6 +29,8 @@ object ModuleList : HudModule(
29
name = "ModuleList",
30
tag = ModuleTag.HUD,
31
) {
32
+ val showKeybind by setting("Show Keybind", true, "Display keybind next to a module")
33
+
34
override val isVisible: Boolean
35
get() = false
36
@@ -41,7 +43,8 @@ object ModuleList : HudModule(
41
43
text(it.name); sameLine()
42
44
val color = if (it.keybind.key == 0 && it.keybind.mouse == -1) Color.RED else Color.GREEN
45
- withStyleColor(ImGuiCol.Text, color) { text(" [${it.keybind.name}]") }
46
+ if (showKeybind)
47
+ withStyleColor(ImGuiCol.Text, color) { text(" [${it.keybind.name}]") }
48
}
49
50
0 commit comments