From ef3af99e9b0a96536940039df282ee9ceccdea16 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Mon, 24 Jan 2022 10:46:57 -0800 Subject: [PATCH] Fix relationship on over --- packages/mindplot/src/components/Relationship.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mindplot/src/components/Relationship.js b/packages/mindplot/src/components/Relationship.js index 7cb29b17..4c26734f 100644 --- a/packages/mindplot/src/components/Relationship.js +++ b/packages/mindplot/src/components/Relationship.js @@ -167,7 +167,7 @@ class Relationship extends ConnectionLine { workspace.append(this._controlPointsController); this._controlPointControllerListener = this._initializeControlPointController.bind(this); - if (workspace.isReadOnly) { + if (workspace.isReadOnly()) { this._line2d.setCursor('default'); } else { this._line2d.addEvent('click', this._controlPointControllerListener);