mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
[ui] Highlight attributes' pins correctly
Harmonize the highlighting of the attributes' pins when they are hovered and clicked on, may they already be connected to other nodes or not.
This commit is contained in:
parent
352c8403e1
commit
8310b5c532
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ RowLayout {
|
|||
color: Colors.sysPalette.base
|
||||
|
||||
Rectangle {
|
||||
visible: inputConnectMA.containsMouse || childrenRepeater.count > 0 || (attribute && attribute.isLink)
|
||||
visible: inputConnectMA.containsMouse || childrenRepeater.count > 0 || (attribute && attribute.isLink) || inputConnectMA.drag.active || inputDropArea.containsDrag
|
||||
radius: isList ? 0 : 2
|
||||
anchors.fill: parent
|
||||
anchors.margins: 2
|
||||
|
@ -209,7 +209,7 @@ RowLayout {
|
|||
color: Colors.sysPalette.base
|
||||
|
||||
Rectangle {
|
||||
visible: attribute.hasOutputConnections
|
||||
visible: attribute.hasOutputConnections || outputConnectMA.containsMouse || outputConnectMA.drag.active || outputDropArea.containsDrag
|
||||
radius: isList ? 0 : 2
|
||||
anchors.fill: parent
|
||||
anchors.margins: 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue