mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added escape to unselect
This commit is contained in:
@@ -47,6 +47,11 @@ void SceneEditorWindow::Update(float ts)
|
||||
{
|
||||
widget->Update(ts);
|
||||
}
|
||||
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_Escape))
|
||||
{
|
||||
editorContext.SetSelection(EditorSelection());
|
||||
}
|
||||
}
|
||||
|
||||
void SceneEditorWindow::Draw()
|
||||
|
||||
Reference in New Issue
Block a user