From 4956f6aef69a21d4e153b7bdb4e2856df64f5817 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Thu, 12 Mar 2026 20:45:18 +0800 Subject: [PATCH] wrong comments Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/main/frontend/modules/shortcut/core.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/modules/shortcut/core.cljs b/src/main/frontend/modules/shortcut/core.cljs index 86585506a8..b65b2d897a 100644 --- a/src/main/frontend/modules/shortcut/core.cljs +++ b/src/main/frontend/modules/shortcut/core.cljs @@ -357,8 +357,9 @@ alt (.-altKey e) meta (.-metaKey e) shift (.-shiftKey e)] - ;; cond->> applies bottom-to-top, so list modifiers in reverse - ;; canonical order (ctrl+alt+meta+shift) to produce correct output + ;; cond->> threads top-to-bottom, so list modifiers in reverse + ;; canonical order (ctrl+alt+meta+shift) so the first applied modifier + ;; ends up innermost in the final key name (cond->> resolved-name shift (str "shift+") meta (str "meta+")