mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-20 23:41:42 +01:00
Force text presentation for the Enter hotkey symbol (#569)
This commit is contained in:
1 parent
93fba4d9b4
commit
bea58b16b4
1 file changed
+3
-1
@@ -333,7 +333,9 @@ export function formatHotkeyString(trigger: string): string[] {
|
||||
} else if (p === "Alt") {
|
||||
labelParts.push("⌥");
|
||||
} else if (p === "Enter") {
|
||||
labelParts.push("↩");
|
||||
// U+21A9 has an emoji presentation, which Chromium's font fallback picks
|
||||
// (a blue glyph among monochrome ones). U+FE0E forces the text form.
|
||||
labelParts.push("↩︎");
|
||||
} else if (p === "Tab") {
|
||||
labelParts.push("⇥");
|
||||
} else if (p === "Backspace") {
|
||||
|
||||
Reference in new issue
Block a user