From e826894632f59c214c309d934843c49d73103612 Mon Sep 17 00:00:00 2001 From: hnOsmium0001 Date: Mon, 25 Apr 2022 20:32:25 -0700 Subject: Replace EditorCommandPalette.hpp/cpp with the copy from P6503 --- source/EditorCore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/EditorCore.cpp') diff --git a/source/EditorCore.cpp b/source/EditorCore.cpp index 601a850..8288df3 100644 --- a/source/EditorCore.cpp +++ b/source/EditorCore.cpp @@ -338,7 +338,7 @@ void EditorInstance::Show() { mWindowVisible_CommandPalette = !mWindowVisible_CommandPalette; } if (mWindowVisible_CommandPalette) { - ImCmd::ShowCommandPaletteWindow("Command Palette", &mWindowVisible_CommandPalette); + mEdCommandPalette.Show(&mWindowVisible_CommandPalette); } if (io.KeyCtrl && ImGui::IsKeyPressed(GLFW_KEY_SPACE, false)) { -- cgit v1.2.3-70-g09d2