Added escape to unselect

This commit is contained in:
antopilo
2025-04-21 22:59:59 -04:00
parent 8b7bdf6376
commit bef8e3d204

View File

@@ -47,6 +47,11 @@ void SceneEditorWindow::Update(float ts)
{
widget->Update(ts);
}
if (ImGui::IsKeyPressed(ImGuiKey_Escape))
{
editorContext.SetSelection(EditorSelection());
}
}
void SceneEditorWindow::Draw()