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 80b1c77 commit 22b2e52Copy full SHA for 22b2e52
src/main/kotlin/com/lambda/gui/components/QuickSearch.kt
@@ -126,7 +126,7 @@ object QuickSearch {
126
child("SearchResults", 400f, 300f, true) {
127
results.forEachIndexed { index, result ->
128
val isSelected = index == 0 // Highlight first result
129
- if (selectable("${result.name}##${result.type}", isSelected)) {
+ selectable("${result.name}##${result.type}", isSelected) {
130
result.action()
131
close()
132
ImGui.closeCurrentPopup()
@@ -151,8 +151,8 @@ object QuickSearch {
151
}
152
153
separator()
154
-
155
- if (button("Close")) {
+
+ button("Close") {
156
157
158
0 commit comments