Update UiObject.js
This commit is contained in:
1 parent
ca9a7fecca
commit
0bdc3778a0
1 file changed
+2
-2
@@ -1113,11 +1113,11 @@ function newUiObject () {
|
||||
}
|
||||
|
||||
function drawReferenceLine () {
|
||||
if (canvas.floatingSpace.drawReferenceLines === false) { return }
|
||||
if (canvas.floatingSpace.drawReferenceLines === false && thisObject.isOnFocus === false) { return }
|
||||
if (thisObject.payload.referenceParent === undefined) { return }
|
||||
if (thisObject.payload.referenceParent.payload === undefined) { return }
|
||||
if (thisObject.payload.referenceParent.payload.floatingObject === undefined) { return }
|
||||
if (thisObject.payload.referenceParent.payload.floatingObject.isParentCollapsed === true) { return }
|
||||
if (thisObject.payload.referenceParent.payload.floatingObject.isParentCollapsed === true && thisObject.isOnFocus === false) { return }
|
||||
|
||||
let targetPoint = {
|
||||
x: thisObject.payload.referenceParent.payload.position.x,
|
||||
|
||||
Reference in new issue
Block a user