fix: setting center and zoom manually should set dirty status (#2676)
Some checks failed
Release Charts / release (push) Has been cancelled
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled

This commit is contained in:
Yohan Boniface 2025-04-23 18:51:36 +02:00 committed by GitHub
commit 1a9c325f16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -824,7 +824,7 @@ export default class Umap {
`<button type="button">${translate('Use current center and zoom')}</button>`
)
button.addEventListener('click', () => {
this._setCenterAndZoom()
this.setCenterAndZoom()
builder.fetchAll()
})
container.appendChild(form)