From a7faf004ae9163e79bd758a79b4cb1c994ce46a5 Mon Sep 17 00:00:00 2001 From: Hiren Kangad Date: Thu, 12 Mar 2026 21:08:01 +0530 Subject: [PATCH] feat(sticky): enable double-click editing for sticky notes --- frontend/src/canvas/SelectionManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/canvas/SelectionManager.ts b/frontend/src/canvas/SelectionManager.ts index 00eec27..4c28437 100644 --- a/frontend/src/canvas/SelectionManager.ts +++ b/frontend/src/canvas/SelectionManager.ts @@ -361,7 +361,7 @@ export class SelectionManager { // Double-click detected if (item.displayObject instanceof VideoSprite) { item.displayObject.togglePlayPause(); - } else if (item.type === 'text') { + } else if (item.type === 'text' || item.type === 'sticky') { this._onDoubleClickText?.(item); } else if (item.type === 'image' || item.type === 'drawing') { this._onDoubleClickImage?.(item);