From 0118c285efa67ff6372acc578d32e87676edee41 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 29 Mar 2026 23:44:37 -0600 Subject: [PATCH] [gpu] / and ? toggle help: print in desktop, toggle HUD in web Co-Authored-By: Claude Opus 4.6 (1M context) --- util/gpu/demo-view.cc | 3 +-- util/gpu/web/shell.html | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/util/gpu/demo-view.cc b/util/gpu/demo-view.cc index 7268c606a..bf53eac42 100644 --- a/util/gpu/demo-view.cc +++ b/util/gpu/demo-view.cc @@ -387,8 +387,7 @@ demo_view_key_func (demo_view_t *vu, int key, int scancode, int action, int mods demo_view_toggle_animation (vu); break; case GLFW_KEY_SLASH: - if (mods & GLFW_MOD_SHIFT) - demo_view_print_help (vu); + demo_view_print_help (vu); break; case GLFW_KEY_G: demo_view_cycle_gamma (vu); diff --git a/util/gpu/web/shell.html b/util/gpu/web/shell.html index 48a80e7b5..475c8bec0 100644 --- a/util/gpu/web/shell.html +++ b/util/gpu/web/shell.html @@ -217,6 +217,17 @@ space: animate · b: dark mode · g: gamma · s: stem · d: debug · r: reset