[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) <noreply@anthropic.com>
This commit is contained in:
Behdad EsfahbodandClaude Opus 4.6 committed 2026-03-30 00:00:31 -06:00
1 parent 936486dea8
commit c8e37ce1f5
1 file changed
+18 -20
+18 -20
View File
@@ -91,26 +91,24 @@ else
</div>
</div>
<div id="help-modal"><pre>
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 <a href="https://github.com/harfbuzz/harfbuzz" style="color:#88f">HarfBuzz</a>
</pre></div>
<div id="help">
<span id="help-desktop">drag: pan · scroll: zoom · click: animate · right-drag: rotate<br>