mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Don't display port labels for subflow pseudo-port nodes
This commit is contained in:
		@@ -1509,7 +1509,7 @@ RED.view = (function() {
 | 
				
			|||||||
    function portMouseOver(port,d,portType,portIndex) {
 | 
					    function portMouseOver(port,d,portType,portIndex) {
 | 
				
			||||||
        clearTimeout(portLabelHoverTimeout);
 | 
					        clearTimeout(portLabelHoverTimeout);
 | 
				
			||||||
        var active = (mouse_mode!=RED.state.JOINING || (drag_lines.length > 0 && drag_lines[0].portType !== portType));
 | 
					        var active = (mouse_mode!=RED.state.JOINING || (drag_lines.length > 0 && drag_lines[0].portType !== portType));
 | 
				
			||||||
        if (active && ((portType === PORT_TYPE_INPUT && (d._def.inputLabels||d.inputLabels)) || (portType === PORT_TYPE_OUTPUT && (d._def.outputLabels||d.outputLabels)))) {
 | 
					        if (active && ((portType === PORT_TYPE_INPUT && ((d._def && d._def.inputLabels)||d.inputLabels)) || (portType === PORT_TYPE_OUTPUT && ((d._def && d._def.outputLabels)||d.outputLabels)))) {
 | 
				
			||||||
            portLabelHoverTimeout = setTimeout(function() {
 | 
					            portLabelHoverTimeout = setTimeout(function() {
 | 
				
			||||||
                var tooltip = getPortLabel(d,portType,portIndex);
 | 
					                var tooltip = getPortLabel(d,portType,portIndex);
 | 
				
			||||||
                if (!tooltip) {
 | 
					                if (!tooltip) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user