File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,7 @@ whenever(
57
57
{ immediate: true }
58
58
)
59
59
60
- whenever(() => canvasStore.getCanvas().ds.state, positionSelectionOverlay, {
61
- deep: true
62
- })
60
+ canvasStore.getCanvas().ds.onChanged = positionSelectionOverlay
63
61
64
62
watch(
65
63
() => canvasStore.canvas?.state?.draggingItems,
Original file line number Diff line number Diff line change @@ -769,7 +769,6 @@ export class ComfyApp {
769
769
this . canvas = new LGraphCanvas ( canvasEl , this . graph )
770
770
// Make canvas states reactive so we can observe changes on them.
771
771
this . canvas . state = reactive ( this . canvas . state )
772
- this . canvas . ds . state = reactive ( this . canvas . ds . state )
773
772
774
773
// @ts -expect-error fixme ts strict error
775
774
this . ctx = canvasEl . getContext ( '2d' )
You can’t perform that action at this time.
0 commit comments