feat(sticky): enable double-click editing for sticky notes

This commit is contained in:
Hiren Kangad
2026-03-12 22:09:12 +05:30
parent e183e4b9d2
commit a7faf004ae
+1 -1
View File
@@ -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);