mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fix: setting center and zoom manually should set dirty status (#2676)
This commit is contained in:
commit
1a9c325f16
1 changed files with 1 additions and 1 deletions
|
@ -824,7 +824,7 @@ export default class Umap {
|
||||||
`<button type="button">${translate('Use current center and zoom')}</button>`
|
`<button type="button">${translate('Use current center and zoom')}</button>`
|
||||||
)
|
)
|
||||||
button.addEventListener('click', () => {
|
button.addEventListener('click', () => {
|
||||||
this._setCenterAndZoom()
|
this.setCenterAndZoom()
|
||||||
builder.fetchAll()
|
builder.fetchAll()
|
||||||
})
|
})
|
||||||
container.appendChild(form)
|
container.appendChild(form)
|
||||||
|
|
Loading…
Reference in a new issue