Merge pull request #1 from openstreetmap/master

Merge openstreetmap/iD into hikemaniac/iD
This commit is contained in:
hikemaniac
2018-02-26 19:09:01 +01:00
committed by GitHub
12 changed files with 22 additions and 12 deletions
+3 -2
View File
@@ -1883,7 +1883,7 @@ input[type=number] {
div.combobox {
z-index: 9999;
display: none;
box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
box-shadow: 0 4px 10px 1px rgba(0,0,0,.2);
margin-top: -1px;
background: white;
max-height: 120px;
@@ -1896,7 +1896,7 @@ div.combobox {
.combobox a {
display: block;
padding: 5px 10px;
border-top:1px solid #ccc;
border-top: 1px solid #ccc;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
@@ -1909,6 +1909,7 @@ div.combobox {
.combobox a:first-child {
border-top: 0;
padding: 4px 10px;
}
.combobox-caret {
+1 -1
View File
@@ -1622,7 +1622,7 @@ en:
label: Wheelchair Access
wholesale:
# wholesale=*
label: wholesale
label: Wholesale
width:
# width=*
label: Width (Meters)
+1 -1
View File
@@ -2205,7 +2205,7 @@
"wholesale": {
"key": "wholesale",
"type": "typeCombo",
"label": "wholesale"
"label": "Wholesale"
},
"width": {
"key": "width",
+2 -2
View File
@@ -1,5 +1,5 @@
{
"key": "wholesale",
"type": "typeCombo",
"label": "wholesale"
}
"label": "Wholesale"
}
+3
View File
@@ -5207,6 +5207,7 @@
"tags": {
"craft": "boatbuilder"
},
"matchScore": 0.4,
"name": "Boat Builder"
},
"craft/bookbinder": {
@@ -8241,6 +8242,8 @@
"icon": "landmark",
"fields": [
"name",
"religion",
"denomination",
"inscription"
],
"geometry": [
@@ -14,5 +14,6 @@
"tags": {
"craft": "boatbuilder"
},
"matchScore": 0.4,
"name": "Boat Builder"
}
@@ -2,6 +2,8 @@
"icon": "landmark",
"fields": [
"name",
"religion",
"denomination",
"inscription"
],
"geometry": [
+1 -1
View File
@@ -2643,7 +2643,7 @@
"label": "Wheelchair Access"
},
"wholesale": {
"label": "wholesale"
"label": "Wholesale"
},
"width": {
"label": "Width (Meters)"
+2 -2
View File
@@ -265,8 +265,8 @@ export function d3combobox() {
var rect = node.getBoundingClientRect();
wrapper
.style('left', rect.left + 'px')
.style('width', rect.width + 'px')
.style('left', (rect.left + 5) + 'px')
.style('width', (rect.width - 10) + 'px')
.style('top', rect.height + rect.top + 'px');
}
+1 -1
View File
@@ -491,7 +491,7 @@ export default {
hideViewer: function() {
_mlySelectedImage = null;
if (!_mlyFallback) {
if (!_mlyFallback && _mlyViewer) {
_mlyViewer.getComponent('sequence').stop();
}
+4 -1
View File
@@ -110,7 +110,10 @@ export function svgGpx(projection, context, dispatch) {
.attr('class', textClass)
.merge(labels)
.text(function(d) {
return d.properties.desc || d.properties.name;
if (d.properties) {
return d.properties.desc || d.properties.name;
}
return null;
})
.attr('x', function(d) {
var centroid = getPath.centroid(d);
+1 -1
View File
@@ -38,7 +38,7 @@
},
"devDependencies": {
"@mapbox/maki": "^4.0.0",
"@std/esm": "^0.21.0",
"@std/esm": "^0.22.0",
"chai": "^4.1.0",
"colors": "^1.1.2",
"concat-files": "^0.1.1",