mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
feat: swap import and settings buttons in edit toolbar (#2329)
fix #2297 
This commit is contained in:
commit
2b2580fa22
1 changed files with 2 additions and 2 deletions
|
@ -44,12 +44,12 @@ const ControlsMixin = {
|
||||||
new U.DrawToolbar({ map: this }).addTo(this)
|
new U.DrawToolbar({ map: this }).addTo(this)
|
||||||
const editActions = [
|
const editActions = [
|
||||||
U.EditCaptionAction,
|
U.EditCaptionAction,
|
||||||
U.EditPropertiesAction,
|
U.ImportAction,
|
||||||
U.EditLayersAction,
|
U.EditLayersAction,
|
||||||
U.ChangeTileLayerAction,
|
U.ChangeTileLayerAction,
|
||||||
U.UpdateExtentAction,
|
U.UpdateExtentAction,
|
||||||
U.UpdatePermsAction,
|
U.UpdatePermsAction,
|
||||||
U.ImportAction,
|
U.EditPropertiesAction,
|
||||||
]
|
]
|
||||||
if (this.options.editMode === 'advanced') {
|
if (this.options.editMode === 'advanced') {
|
||||||
new U.SettingsToolbar({ actions: editActions }).addTo(this)
|
new U.SettingsToolbar({ actions: editActions }).addTo(this)
|
||||||
|
|
Loading…
Reference in a new issue