Re-enable button, add setting to choose how to add new features
This commit is contained in:
parent
25ff4b3a8c
commit
1acb645beb
12 changed files with 124 additions and 110 deletions
|
@ -3,7 +3,24 @@
|
|||
"name": null,
|
||||
"description": "This 'layer' is not really a layer, but contains part of the code how the popup to 'add a new marker' is displayed",
|
||||
"source": "special",
|
||||
"isShown": "mouse_button=right",
|
||||
"isShown": {
|
||||
"or": [
|
||||
{
|
||||
"and": [
|
||||
"mouse_button=right",
|
||||
"_usermode=button_click_right"
|
||||
]
|
||||
},
|
||||
"_usermode=button_click",
|
||||
"_usermode=click",
|
||||
{
|
||||
"and": [
|
||||
"mouse_button=right",
|
||||
"_usermode=click_right"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": {
|
||||
"mappings": [
|
||||
{
|
||||
|
|
|
@ -466,6 +466,44 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "add-new-feature",
|
||||
"question": {
|
||||
"en": "How should the menu to add a new feature be opened?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "mapcomplete-preferences-add-new-mode=button",
|
||||
"then": {
|
||||
"en": "Adding a new feature is done with the button at the bottom left. Clicking the map does nothing"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-preferences-add-new-mode=click",
|
||||
"then": {
|
||||
"en": "When clicking or tapping the map, a marker pops up where a new feature is added"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-preferences-add-new-mode=click_right",
|
||||
"then": {
|
||||
"en": "When right-clicking or long-pressing the map, a marker pops up where a new feature can be added"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-preferences-add-new-mode=button_click",
|
||||
"then": {
|
||||
"en": "When clicking or tapping the map, a marker pops up where a new feature can be added. Additionally, a button at the bottom left is shown"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "mapcomplete-preferences-add-new-mode=button_click_right",
|
||||
"then": {
|
||||
"en": "When right-clicking or long-pressing the map, a marker pops up where a new feature can be added. Additionally, a button at the bottom left is shown"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "fixate-north",
|
||||
"question": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue