aboutsummaryrefslogtreecommitdiff
path: root/source/EditorCore.cpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-25 20:32:25 -0700
committerhnOsmium0001 <[email protected]>2022-04-25 20:32:25 -0700
commite826894632f59c214c309d934843c49d73103612 (patch)
tree5ece9f0fb9f06576c6f0f4c5838c6655bce99e84 /source/EditorCore.cpp
parentf54370de7e4214cb7813d26b1a39a8f6e42b7b56 (diff)
Replace EditorCommandPalette.hpp/cpp with the copy from P6503
Diffstat (limited to 'source/EditorCore.cpp')
-rw-r--r--source/EditorCore.cpp2
1 files changed, 1 insertions, 1 deletions
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)) {