Skip to content

Commit

Permalink
pull dev-rebase: re-enable base ctrl-E shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
krawthekrow committed Mar 30, 2024
1 parent 9db20a4 commit c39fdd2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/gui/game/GameView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c39fdd2

Please sign in to comment.