Fixed startnode button showing for startnode

This commit is contained in:
frikky
2021-09-15 20:24:59 +02:00
parent edd295cfc2
commit e28b5d1e9b
5 changed files with 88 additions and 44 deletions
+4
View File
@@ -3212,6 +3212,10 @@ const AngularWorkflow = (props) => {
if (parentNode.data('isButton') || parentNode.data('buttonId'))
return
if (parentNode.data("isStartNode")) {
return
}
//parentNode.lock()
const px = parentNode.position('x') - 65
const py = parentNode.position('y') - 45