Skip to content

Commit 3bac0d0

Browse files
committed
[GraphEditor] AttributePin: Fix condition for the highlight pin display
1 parent 0cddff1 commit 3bac0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meshroom/ui/qml/GraphEditor/AttributePin.qml

+2-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ RowLayout {
236236
anchors.fill: parent
237237
anchors.margins: 2
238238
color: {
239-
if ((!object.hasOutputConnections && object.enabled) && outputConnectMA.containsMouse || outputConnectMA.drag.active || (outputDropArea.containsDrag && outputDropArea.acceptableDrop))
239+
if (object.enabled && (outputConnectMA.containsMouse || outputConnectMA.drag.active ||
240+
(outputDropArea.containsDrag && outputDropArea.acceptableDrop)))
240241
return Colors.sysPalette.highlight
241242
return Colors.sysPalette.text
242243
}

0 commit comments

Comments
 (0)