Dependency re-work. Workaround JointJS removeAttr bug

This commit is contained in:
BoykoAlex
2018-09-07 20:11:53 -04:00
parent 5d7f8929fb
commit 6655697fca
4 changed files with 21 additions and 13 deletions

View File

@@ -430,11 +430,14 @@ export class EditorComponent implements OnInit, OnDestroy {
link.attr('.marker-vertices/display', 'none');
link.attr('.connection-wrap/display', 'none');
} else {
link.removeAttr('.link-tools/display');
// link.removeAttr('.link-tools/display');
Flo.removeAttr(link, '.link-tools/display');
if (this.editor && this.editor.allowLinkVertexEdit) {
link.removeAttr('.marker-vertices/display');
// link.removeAttr('.marker-vertices/display');
Flo.removeAttr(link, '.marker-vertices/display');
}
link.removeAttr('.connection-wrap/display');
// link.removeAttr('.connection-wrap/display');
Flo.removeAttr(link, '.connection-wrap/display');
}
});
}