chore: put back order of edit buttons

We'll certainly change them later, but for now let's create
useless noise for users
This commit is contained in:
Yohan Boniface 2024-03-15 18:26:17 +01:00
parent 2f3d579079
commit 8279ae8a62

View file

@ -320,10 +320,11 @@ U.Map = L.Map.extend({
if (this.hasEditMode() && !this.options.noControl) {
new U.EditControl(this).addTo(this)
new U.DrawToolbar({ map: this }).addTo(this)
const editActions = [
U.EditLayersAction,
U.EditCaptionAction,
U.EditPropertiesAction,
U.EditLayersAction,
U.ChangeTileLayerAction,
U.UpdateExtentAction,
U.UpdatePermsAction,
@ -333,7 +334,6 @@ U.Map = L.Map.extend({
new U.SettingsToolbar({ actions: editActions }).addTo(this)
}
new U.DrawToolbar({ map: this }).addTo(this)
}
this._controls.zoom = new L.Control.Zoom({
zoomInTitle: L._('Zoom in'),