chore: commit workspace updates
This commit is contained in:
1 parent
01a2d171f5
commit
9727656b2b
491 files changed
+12826
-72249
No files matched your search
@@ -78,6 +78,8 @@ export function subscribeCanvasViewportPreview(container: HTMLDivElement, listen
|
||||
*/
|
||||
export function applyCanvasNodeDragPreview(container: HTMLDivElement | null, preview: CanvasNodeDragPreview | null) {
|
||||
if (!container) return;
|
||||
if (preview) container.dataset.canvasNodeDragging = "true";
|
||||
else delete container.dataset.canvasNodeDragging;
|
||||
|
||||
let state = nodeDragPreviewDomStates.get(container);
|
||||
if (!state) {
|
||||
|
||||
Reference in new issue
Block a user