From 8739c6e1df88d6a139544e53e884a3405a664a51 Mon Sep 17 00:00:00 2001 From: Chris Jordan Date: Fri, 10 Jan 2025 15:58:15 -0500 Subject: [PATCH] temp fix for layertools not rendering in tool palette --- src/ui/tool.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/tool.ts b/src/ui/tool.ts index 36a14015d..51413916d 100644 --- a/src/ui/tool.ts +++ b/src/ui/tool.ts @@ -131,6 +131,13 @@ export abstract class LayerTool< get mouseState() { return this.layer.manager.root.layerSelectedValues.mouseState; } + renderInPalette(context: RefCounted): HTMLElement | undefined { + context; + this.description; + const el = document.createElement("div"); + el.innerHTML = this.description; + return el; + } } export abstract class LegacyTool<