Skip to content

Commit

Permalink
[GraphEditor] AttributePin: Fix condition for the highlight pin display
Browse files Browse the repository at this point in the history
  • Loading branch information
cbentejac committed Oct 15, 2024
1 parent 0cddff1 commit 3bac0d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meshroom/ui/qml/GraphEditor/AttributePin.qml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ RowLayout {
anchors.fill: parent
anchors.margins: 2
color: {
if ((!object.hasOutputConnections && object.enabled) && outputConnectMA.containsMouse || outputConnectMA.drag.active || (outputDropArea.containsDrag && outputDropArea.acceptableDrop))
if (object.enabled && (outputConnectMA.containsMouse || outputConnectMA.drag.active ||
(outputDropArea.containsDrag && outputDropArea.acceptableDrop)))
return Colors.sysPalette.highlight
return Colors.sysPalette.text
}
Expand Down

0 comments on commit 3bac0d0

Please sign in to comment.