mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 11:32:38 +02:00
fix: setting center and zoom manually should set dirty status
Co-authored-by: David Larlet <david@larlet.fr>
This commit is contained in:
parent
efaa765b82
commit
19d16ac01b
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