From e7fde20529206c25a57fc98bc5f2e45b79dfa058 Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Sun, 26 May 2024 19:52:20 -0400 Subject: [PATCH] Fix action index in logs --- src/render.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/render.ts b/src/render.ts index 4edb927..05fcafd 100644 --- a/src/render.ts +++ b/src/render.ts @@ -28,6 +28,7 @@ export function renderShortcut(shortcutActions: Array) { if (dev) { console.group('Render Shortcut'); } + actionIndex = 0; actionTotal = shortcutActions.length; for (const action of shortcutActions) { actionIndex++;