mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	force redraw after node installation
This commit is contained in:
		@@ -1499,7 +1499,7 @@ RED.nodes = (function() {
 | 
			
		||||
                            l.target = newNodeMap[l.target.id];
 | 
			
		||||
                        }
 | 
			
		||||
                    });
 | 
			
		||||
                    RED.view.redraw(true);
 | 
			
		||||
                    RED.view.redraw(true, true);
 | 
			
		||||
                }
 | 
			
		||||
            });
 | 
			
		||||
        },
 | 
			
		||||
 
 | 
			
		||||
@@ -3765,7 +3765,12 @@ RED.view = (function() {
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        redraw: function(updateActive) {
 | 
			
		||||
        redraw: function(updateActive, force) {
 | 
			
		||||
            if (force) {
 | 
			
		||||
                activeNodes = [];
 | 
			
		||||
                activeLinks = [];
 | 
			
		||||
                redraw();
 | 
			
		||||
            }
 | 
			
		||||
            if (updateActive) {
 | 
			
		||||
                updateActiveNodes();
 | 
			
		||||
                updateSelection();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user