diff --git a/app/ui/gestures.ts b/app/ui/gestures.ts index b5b8fce7..a1799c00 100644 --- a/app/ui/gestures.ts +++ b/app/ui/gestures.ts @@ -2,13 +2,13 @@ * Compact glyphs for the ring gestures, used in on-glasses hint text instead * of spelling the gesture out. All codepoints exist in terminus12/16. * - * click · (U+00B7 middle dot) - * double-click ·· (twice) + * click ● (U+00B7 middle dot) + * double-click ●● (twice) * scroll ▲▼ (U+25B2 / U+25BC) * long-press - (hyphen-minus) */ -export const GESTURE_CLICK = "·"; -export const GESTURE_DOUBLE_CLICK = "··"; +export const GESTURE_CLICK = "\u25cf"; +export const GESTURE_DOUBLE_CLICK = GESTURE_CLICK+GESTURE_CLICK; export const GESTURE_SCROLL_UP = "▲"; export const GESTURE_SCROLL_DOWN = "▼"; export const GESTURE_SCROLL = "▲▼"; @@ -17,7 +17,7 @@ export const GESTURE_LONG_PRESS = "-"; /** * Join "glyph action" hint pairs into a single line, e.g. * gestureHints([[GESTURE_CLICK, "save"], [GESTURE_DOUBLE_CLICK, "back"]]) - * => "· save ·· back" + * => "● save ●● back" */ export function gestureHints(pairs: Array<[string, string]>): string { return pairs.map(([glyph, action]) => `${glyph} ${action}`).join(" ");