mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-12 20:42:37 +02:00
Merge branch 'localstorage-restore' into conflict-resolution
This commit is contained in:
@@ -114,6 +114,8 @@ en:
|
||||
label: Backrest
|
||||
barrier:
|
||||
label: Type
|
||||
bench:
|
||||
label: Bench
|
||||
bicycle_parking:
|
||||
label: Type
|
||||
boundary:
|
||||
|
||||
@@ -202,6 +202,11 @@
|
||||
"type": "typeCombo",
|
||||
"label": "Type"
|
||||
},
|
||||
"bench": {
|
||||
"key": "bench",
|
||||
"type": "check",
|
||||
"label": "Bench"
|
||||
},
|
||||
"bicycle_parking": {
|
||||
"key": "bicycle_parking",
|
||||
"type": "combo",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "bench",
|
||||
"type": "check",
|
||||
"label": "Bench"
|
||||
}
|
||||
@@ -3697,7 +3697,9 @@
|
||||
"icon": "bus",
|
||||
"fields": [
|
||||
"operator",
|
||||
"shelter"
|
||||
"bench",
|
||||
"shelter",
|
||||
"covered"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
"icon": "bus",
|
||||
"fields": [
|
||||
"operator",
|
||||
"shelter"
|
||||
"bench",
|
||||
"shelter",
|
||||
"covered"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
||||
Vendored
+3
@@ -664,6 +664,9 @@
|
||||
"barrier": {
|
||||
"label": "Type"
|
||||
},
|
||||
"bench": {
|
||||
"label": "Bench"
|
||||
},
|
||||
"bicycle_parking": {
|
||||
"label": "Type"
|
||||
},
|
||||
|
||||
Vendored
+3
@@ -572,6 +572,9 @@
|
||||
"barrier": {
|
||||
"label": "Тип"
|
||||
},
|
||||
"bench": {
|
||||
"label": "Скамейка"
|
||||
},
|
||||
"bicycle_parking": {
|
||||
"label": "Тип"
|
||||
},
|
||||
|
||||
@@ -234,7 +234,9 @@ iD.History = function(context) {
|
||||
// this merges originals for changed entities into the base of
|
||||
// the stack even if the current stack doesn't have them (for
|
||||
// example when iD has been restarted in a different region)
|
||||
var baseEntities = h.baseEntities.map(iD.Entity);
|
||||
var baseEntities = h.baseEntities.map(function(entity) {
|
||||
return iD.Entity(entity);
|
||||
});
|
||||
stack[0].graph.rebase(baseEntities, _.pluck(stack, 'graph'));
|
||||
tree.rebase(baseEntities);
|
||||
}
|
||||
|
||||
@@ -95,6 +95,8 @@ iD.ui.preset.address = function(field, context) {
|
||||
}
|
||||
|
||||
function address(selection) {
|
||||
isInitialized = false;
|
||||
|
||||
selection.selectAll('.preset-input-wrap')
|
||||
.remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user