Skip to content

Commit

Permalink
Fix cneben#89 in previous commit BTW...
Browse files Browse the repository at this point in the history
Signed-off-by: cneben <[email protected]>
  • Loading branch information
cneben committed Dec 6, 2020
1 parent 455755c commit 183cad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quickqanava.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test-cpp.subdir = samples/cpp
#SUBDIRS += test-navigable
#SUBDIRS += test-nodes
#SUBDIRS += test-edges
#SUBDIRS += test-connector
SUBDIRS += test-connector
#SUBDIRS += test-groups
#SUBDIRS += test-selection
#SUBDIRS += test-style
Expand Down
3 changes: 1 addition & 2 deletions src/VisualConnector.qml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ Qan.Connector {

// Private ////////////////////////////////////////////////////////////////
width: radius * 2; height: radius * 2
x: parent && visible ? parent.width + connectorMargin : // VisualConnector is parented to GraphView containerItem by default, when connector is not visible
connectorMargin // (ie not reparented to a node, do not set it's width to avoid modifying a parent childrenRect
x: connectorMargin
y: topMargin

visible: false
Expand Down

0 comments on commit 183cad5

Please sign in to comment.