refine(sticky): reduce preset sizes and remove pan tool shortcuts

This commit is contained in:
Hiren Kangad
2026-03-13 00:46:37 +05:30
parent ce1cc60d67
commit 9f69eae308
5 changed files with 6 additions and 19 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export function useShortcutHandler(deps: ShortcutHandlerDeps) {
const viewport = canvasRef.current?.getViewport();
if (!scene || !selection || !viewport) return;
// Tool shortcuts (bare keys 1-5, v/h/p/t/e -- no modifiers)
// Tool shortcuts (bare keys only for the primary visible tools)
if (!e.ctrlKey && !e.metaKey && !e.altKey) {
const tool = toolShortcuts[e.key.toLowerCase()];
if (tool) {