We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa84fd3 + c3255ac commit 2cfedc4Copy full SHA for 2cfedc4
src/component/Overlay.ts
@@ -341,7 +341,7 @@ export default class OverlayImp<E = unknown> implements Overlay<E> {
341
shouldUpdate (): { draw: boolean, sort: boolean } {
342
const sort = this._prevOverlay.zLevel !== this.zLevel
343
const draw = sort ||
344
- JSON.stringify(this._prevOverlay) !== JSON.stringify(this.points) ||
+ JSON.stringify(this._prevOverlay.points) !== JSON.stringify(this.points) ||
345
this._prevOverlay.visible !== this.visible ||
346
this._prevOverlay.extendData !== this.extendData ||
347
this._prevOverlay.styles !== this.styles
0 commit comments