1
0
Fork 0

chore(core): Use hide, not render

This commit is contained in:
Joost De Cock 2022-09-18 17:01:19 +02:00
parent 026560ef24
commit 5dc7401308
82 changed files with 337 additions and 293 deletions

View file

@ -31,9 +31,8 @@ export const plugin = {
this.points[prefix + 'End']
)
.attr('class', so.class ? so.class : '')
if (typeof so.render !== 'undefined' && so.render)
this.paths[prefix + 'Rounded'].render = true
else this.paths[prefix + 'Rounded'].render = false
if (so?.hidden) this.paths[prefix + 'Rounded'].hide()
else this.paths[prefix + 'Rounded'].unhide()
},
},
}