We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sameLine
Show Keybin
1 parent 28d6811 commit cdea7afCopy full SHA for cdea7af
src/main/kotlin/com/lambda/module/hud/ModuleList.kt
@@ -40,10 +40,12 @@ object ModuleList : HudModule(
40
.filter { it.isVisible }
41
42
enabled.forEach {
43
- text(it.name); sameLine()
+ text(it.name)
44
45
if (showKeybind) {
46
val color = if (it.keybind.key == 0 && it.keybind.mouse == -1) Color.RED else Color.GREEN
47
+
48
+ sameLine()
49
withStyleColor(ImGuiCol.Text, color) { text(" [${it.keybind.name}]") }
50
}
51
0 commit comments