From c39fdd2832cedf0f48ebf2cb110d9d80da2ef33b Mon Sep 17 00:00:00 2001 From: krawthekrow Date: Sat, 30 Mar 2024 03:56:28 -0700 Subject: [PATCH] pull dev-rebase: re-enable base ctrl-E shortcut --- src/gui/game/GameView.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp index ff94aad365..3fab8659b0 100644 --- a/src/gui/game/GameView.cpp +++ b/src/gui/game/GameView.cpp @@ -1544,7 +1544,10 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl, c->ReloadSim(); break; case SDL_SCANCODE_E: - c->OpenElementSearch(); + if (ctrl) + c->SetEdgeMode(c->GetEdgeMode() + 1); + else + c->OpenElementSearch(); break; case SDL_SCANCODE_F: if (ctrl)