mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 01:08:26 +02:00
[ui] GraphEditor: Backdrop Resizing updates
This commit is contained in:
parent
3a2384f20a
commit
d72d29ebce
1 changed files with 4 additions and 2 deletions
|
@ -994,8 +994,6 @@ Item {
|
|||
|
||||
property var nodes: []
|
||||
|
||||
width: uigraph.layout.nodeWidth
|
||||
|
||||
mainSelected: uigraph.selectedNode === node
|
||||
hovered: uigraph.hoveredNode === node
|
||||
|
||||
|
@ -1070,6 +1068,10 @@ Item {
|
|||
uigraph.resizeNode(node, width, height);
|
||||
}
|
||||
|
||||
onResizedAndMoved: function(width, height, position) {
|
||||
uigraph.resizeAndMoveNode(node, width, height, position);
|
||||
}
|
||||
|
||||
onEntered: uigraph.hoveredNode = node
|
||||
onExited: uigraph.hoveredNode = null
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue