Skip to content

Commit 2cfedc4

Browse files
authored
Merge pull request #703 from 1123612483/patch-2
Update Overlay.ts
2 parents aa84fd3 + c3255ac commit 2cfedc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/component/Overlay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export default class OverlayImp<E = unknown> implements Overlay<E> {
341341
shouldUpdate (): { draw: boolean, sort: boolean } {
342342
const sort = this._prevOverlay.zLevel !== this.zLevel
343343
const draw = sort ||
344-
JSON.stringify(this._prevOverlay) !== JSON.stringify(this.points) ||
344+
JSON.stringify(this._prevOverlay.points) !== JSON.stringify(this.points) ||
345345
this._prevOverlay.visible !== this.visible ||
346346
this._prevOverlay.extendData !== this.extendData ||
347347
this._prevOverlay.styles !== this.styles

0 commit comments

Comments
 (0)