Skip to content

Commit 5986356

Browse files
committed
Update ActionSelector.tsx
1 parent c22ba87 commit 5986356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/twig/src/renderer/components/action-selector/ActionSelector.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export function ActionSelector({
173173
h.handleCancel();
174174
break;
175175
default:
176-
if (/^[1-9]$/.test(e.key)) {
176+
if (/^[1-9]$/.test(e.key) && !e.metaKey && !e.ctrlKey) {
177177
e.preventDefault();
178178
e.stopPropagation();
179179
h.selectByIndex(Number.parseInt(e.key, 10) - 1);

0 commit comments

Comments
 (0)