Skip to content

Commit

Permalink
fix: Fix issue with dynamic svg url not working when pan and zom is d…
Browse files Browse the repository at this point in the history
…isabled. Fixes #20, fixes #17
  • Loading branch information
stefan-lacatus committed Jan 7, 2021
1 parent 9b324ee commit d47f498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svgRenderer/svgRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export class SvgElement {
}

public dispose() {
this.panandZoomInstance.dispose();
this.panandZoomInstance?.dispose();
}

/**
Expand Down

0 comments on commit d47f498

Please sign in to comment.