mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	[groups] increase group border radius
This commit is contained in:
		| @@ -4126,17 +4126,18 @@ if (DEBUG_EVENTS) { console.warn("nodeMouseDown", mouse_mode,d); } | ||||
|                 var g = d3.select(this); | ||||
|                 g.attr("id",d.id); | ||||
|  | ||||
|                 var groupBorderRadius = 4; | ||||
|  | ||||
|                 var selectGroup = groupSelectLayer.append('g').attr("class", "red-ui-flow-group").attr("id","group_select_"+d.id); | ||||
|                 selectGroup.append('rect').classed("red-ui-flow-group-outline-select",true) | ||||
|                     .attr('rx',1).attr('ry',1) | ||||
|                     .attr('rx',groupBorderRadius).attr('ry',groupBorderRadius) | ||||
|                     .attr("x",-4) | ||||
|                     .attr("y",-4) | ||||
|                     .style("stroke","rgba(255,255,255,0.8)") | ||||
|                     .style("stroke-width",6) | ||||
|  | ||||
|                 selectGroup.append('rect').classed("red-ui-flow-group-outline-select",true) | ||||
|                     .attr('rx',1).attr('ry',1) | ||||
|                     .attr('rx',groupBorderRadius).attr('ry',groupBorderRadius) | ||||
|                     .attr("x",-4) | ||||
|                     .attr("y",-4) | ||||
|                 selectGroup.on("mousedown", function() {console.log("omd");groupMouseDown.call(g[0][0],d)}); | ||||
| @@ -4145,7 +4146,7 @@ if (DEBUG_EVENTS) { console.warn("nodeMouseDown", mouse_mode,d); } | ||||
|                 g.append('rect').classed("red-ui-flow-group-outline",true).attr('rx',0.5).attr('ry',0.5); | ||||
|  | ||||
|                 g.append('rect').classed("red-ui-flow-group-body",true) | ||||
|                     .attr('rx',1).attr('ry',1).style({ | ||||
|                     .attr('rx',groupBorderRadius).attr('ry',groupBorderRadius).style({ | ||||
|                         "fill":d.fill||"none", | ||||
|                         "stroke": d.stroke||"none", | ||||
|                     }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user