summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-02-23 13:09:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-02-23 13:09:49 (GMT)
commitf89d44b59c8619993614e0405d7395f37680f152 (patch)
tree023d5e7510c83884ba6f434f5ba5e9c802aad138 /src/gtkext
parent61747adcabd33faf086c257843fb417bef74cb51 (diff)
Fixed missing controls when computing loop edge positions.
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/graph/cluster.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtkext/graph/cluster.c b/src/gtkext/graph/cluster.c
index 5ead117..e0d67eb 100644
--- a/src/gtkext/graph/cluster.c
+++ b/src/gtkext/graph/cluster.c
@@ -897,6 +897,9 @@ static gint compute_loop_link_x_with_vspace_manager(const vspace_manager_t *mana
{
booking = manager->left[i];
+ if (booking->external != external)
+ continue;
+
x = ++count * LINK_MARGIN;
booking->pts[0].x = needed->x - x;
@@ -912,6 +915,9 @@ static gint compute_loop_link_x_with_vspace_manager(const vspace_manager_t *mana
{
booking = manager->right[i];
+ if (booking->external != external)
+ continue;
+
x = ++count * LINK_MARGIN;
booking->pts[0].x = needed->x + needed->width + x;