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