chore(core): Use hide, not render
This commit is contained in:
parent
026560ef24
commit
5dc7401308
82 changed files with 337 additions and 293 deletions
|
@ -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()
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue