From 8950614232e367df85d7803371fa128a75fc8603 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 6 Nov 2019 09:24:56 +0100 Subject: [PATCH] Hiding reference lines pointing to collapsed parents --- FloatingSpace/UiObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FloatingSpace/UiObject.js b/FloatingSpace/UiObject.js index e5e78b006..eae98c25e 100644 --- a/FloatingSpace/UiObject.js +++ b/FloatingSpace/UiObject.js @@ -1081,6 +1081,7 @@ function newUiObject () { function drawReferenceLine () { if (thisObject.payload.referenceParent === undefined) { return } + if (thisObject.payload.referenceParent.payload.floatingObject.isParentCollapsed === true) { return } let targetPoint = { x: thisObject.payload.referenceParent.payload.position.x, @@ -1545,4 +1546,3 @@ function newUiObject () { } } } -