🐛 Fix strikethrough tooltip shortcut (#12221)

The Strikethrough button tooltip showed Alt+Shift+Ctrl+5, but the
shortcut is Alt+Shift+5. The tooltip used meta-shift, which adds
Ctrl (Cmd on Mac). Build it with shift so it matches the command.

Closes #12217

AI-assisted-by: claude-opus-5-5
This commit is contained in:
Belén Albeza 2026-10-08 15:26:11 +02:00 committed by GitHub
parent 29ea6e49b6
commit c2a1d70476
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -245,7 +245,7 @@
:section [:workspace]
:fn #(update-attrs-when-no-readonly {:text-decoration "toggle-underline"})}
:line-through {:tooltip (ds/alt (ds/meta-shift "5"))
:line-through {:tooltip (ds/alt (ds/shift "5"))
:label (fn [] (tr "shortcuts.line-through"))
:command "alt+shift+5"
:subsections [:text-editor]