From c8e37ce1f526355c2ea0729ad981e2d793144696 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 30 Mar 2026 00:00:31 -0600 Subject: [PATCH] [gpu] Rearrange help modal, add HarfBuzz link Keyboard first, mouse/touch second. Link to HarfBuzz GitHub at bottom right. Co-Authored-By: Claude Opus 4.6 (1M context) --- util/gpu/web/shell.html | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/util/gpu/web/shell.html b/util/gpu/web/shell.html index 3a289c034..20d19b27f 100644 --- a/util/gpu/web/shell.html +++ b/util/gpu/web/shell.html @@ -91,26 +91,24 @@ else
-Mouse:                            Keyboard:
-  drag          pan                 space     toggle animation
-  scroll        zoom                b         dark mode
-  right-drag    rotate              g         gamma (2.2/none)
-  click         toggle animation    s         stem darkening
-  middle-click  reset view          d         debug heatmap
-  middle-drag   zoom                r         reset view
-
-Touch:                              =/-       zoom in/out
-  drag          pan                 [ ]       stretch horiz
-  pinch         zoom                { }       stretch vert
-  3-finger      rotate              arrows    pan
-  tap           animate             h j k l   pan (vim)
-
-Text editor:                      Shortcuts:
-  Ctrl+Enter    apply               t         edit text
-  Esc           cancel              f         load font
-                                    w         switch WebGL/WebGPU
-                                    R         reload page
-                                    ?         this help
+Keyboard:                        Mouse:
+  space     toggle animation       drag          pan
+  b         dark mode              scroll        zoom
+  g         gamma (2.2/none)       right-drag    rotate
+  s         stem darkening         click         toggle animation
+  d         debug heatmap          middle-click  reset view
+  r         reset view             middle-drag   zoom
+  =/-       zoom in/out
+  [ ] { }   stretch              Touch:
+  arrows    pan                    drag          pan
+  h j k l   pan (vim)             pinch         zoom
+                                   3-finger      rotate
+Shortcuts:                         tap           animate
+  t         edit text
+  f         load font            Text editor:
+  w         switch backend         Ctrl+Enter    apply
+  R         reload page            Esc           cancel
+  ?         this help                    HarfBuzz
 
drag: pan · scroll: zoom · click: animate · right-drag: rotate