From beabd0eb335e9ca51dfedd0b9438d21fb852caae Mon Sep 17 00:00:00 2001 From: x1a0t Date: Thu, 16 Feb 2023 14:45:46 +0800 Subject: [PATCH] fix: disable shortcut "h" to shown/hidden dat.gui --- packages/playground/src/components/debug-menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playground/src/components/debug-menu.ts b/packages/playground/src/components/debug-menu.ts index 01800c01c374..12bd2be3d3b8 100644 --- a/packages/playground/src/components/debug-menu.ts +++ b/packages/playground/src/components/debug-menu.ts @@ -249,7 +249,7 @@ export class DebugMenu extends NonShadowLitElement { this.canUndo = this.page.canUndo; this.canRedo = this.page.canRedo; }); - this._styleMenu = new GUI(); + this._styleMenu = new GUI({ hideable: false }); this._styleMenu.width = 350; const style = document.documentElement.style; const sizeFolder = this._styleMenu.addFolder('Size');