mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Merge pull request #2612 from node-red-hitachi/fix-group-position
Fix group position of empty group with multi-line label
This commit is contained in:
		@@ -4277,7 +4277,9 @@ RED.view = (function() {
 | 
			
		||||
                        var labelPos = d.style["label-position"] || "nw";
 | 
			
		||||
                        d.h += h;
 | 
			
		||||
                        if (labelPos[0] === "n") {
 | 
			
		||||
                            d.y -= h;
 | 
			
		||||
                            if (d.nodes.length > 0) {
 | 
			
		||||
                                d.y -= h;
 | 
			
		||||
                            }
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user