mirror of
https://gitee.com/antv/g6.git
synced 2024-11-29 10:18:14 +08:00
fix(plugins): fix error when destroy snapline plugin (#6212)
Co-authored-by: antv <antv@antfin.com>
This commit is contained in:
parent
cdc6d1a3c9
commit
489f27b5c3
@ -365,8 +365,8 @@ export class Snapline extends BasePlugin<SnaplineOptions> {
|
||||
}
|
||||
|
||||
private destroyElements() {
|
||||
this.horizontalLine.destroy();
|
||||
this.verticalLine.destroy();
|
||||
this.horizontalLine?.destroy();
|
||||
this.verticalLine?.destroy();
|
||||
}
|
||||
|
||||
public destroy() {
|
||||
|
Loading…
Reference in New Issue
Block a user