Browse Source

Add key command for Revert Patch

tags/v0.6.2
Andrew Belt 6 years ago
parent
commit
4bde271a36
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/app/RackScene.cpp

+ 4
- 0
src/app/RackScene.cpp View File

@@ -80,6 +80,10 @@ void RackScene::onHoverKey(EventHoverKey &e) {
gRackWidget->openDialog();
e.consumed = true;
}
if (windowIsModPressed() && windowIsShiftPressed()) {
gRackWidget->revert();
e.consumed = true;
}
} break;
case GLFW_KEY_S: {
if (windowIsModPressed() && !windowIsShiftPressed()) {


Loading…
Cancel
Save