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(
5757  { immediate: true  } 
5858) 
5959
60- whenever (() =>  canvasStore .getCanvas ().ds .state , positionSelectionOverlay , {
61-   deep: true  
62- }) 
60+ canvasStore .getCanvas ().ds .onChanged  =  positionSelectionOverlay 
6361
6462watch (
6563  () =>  canvasStore .canvas ?.state ?.draggingItems , 
Original file line number Diff line number Diff line change @@ -769,7 +769,6 @@ export class ComfyApp {
769769    this . canvas  =  new  LGraphCanvas ( canvasEl ,  this . graph ) 
770770    // Make canvas states reactive so we can observe changes on them. 
771771    this . canvas . state  =  reactive ( this . canvas . state ) 
772-     this . canvas . ds . state  =  reactive ( this . canvas . ds . state ) 
773772
774773    // @ts -expect-error fixme ts strict error 
775774    this . ctx  =  canvasEl . getContext ( '2d' ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments