fix: do not sync twice a point move

This commit is contained in:
Yohan Boniface 2025-02-07 10:08:58 +01:00
parent c5ee9fc283
commit 009b32c818

View file

@ -119,7 +119,7 @@ const PointMixin = {
this.on('dragend', (event) => { this.on('dragend', (event) => {
this.isDirty = true this.isDirty = true
this.feature.edit(event) this.feature.edit(event)
this.feature.pullGeometry() this.feature.pullGeometry(false)
}) })
if (!this.feature.isReadOnly()) this.on('mouseover', this._enableDragging) if (!this.feature.isReadOnly()) this.on('mouseover', this._enableDragging)
this.on('mouseout', this._onMouseOut) this.on('mouseout', this._onMouseOut)