Skip to content

Commit 96b38cc

Browse files
force console search window to always display in front
1 parent 4b60100 commit 96b38cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/funkin/backend/system/console/ConsoleUI.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ class ConsoleUI {
405405
ImGui.pushStyleColor(ImGuiCol.WindowBg, CONSOLE_BG_COLOR);
406406
ImGui.setNextWindowPos(inputTextCursorPos.x, inputTextCursorPos.y - (ImGui.getTextLineHeightWithSpacing() * (end-start))-12);
407407
if (ImGui.begin("Command Search window", null, ImGuiWindowFlags.NoDecoration | ImGuiWindowFlags.AlwaysAutoResize | ImGuiWindowFlags.NoInputs | ImGuiWindowFlags.NoFocusOnAppearing)) {
408+
ImGui.bringNamedWindowToDisplayFront("Command Search window");
408409
for (i in start...end) {
409410
var cmd = commandSearch[i];
410411
if (!cyclingCommands) {

0 commit comments

Comments
 (0)