aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/GlobalKeyHandler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r--src/client/views/GlobalKeyHandler.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts
index d5e0ed962..1a4080d81 100644
--- a/src/client/views/GlobalKeyHandler.ts
+++ b/src/client/views/GlobalKeyHandler.ts
@@ -230,6 +230,10 @@ export class KeyManager {
}
}
break;
+ case "e": CurrentUserUtils.SelectedTool = InkTool.Eraser;
+ break;
+ case "p": CurrentUserUtils.SelectedTool = InkTool.Pen;
+ break;
case "o":
const target = SelectionManager.Docs().lastElement();
target && CollectionDockingView.OpenFullScreen(target);