Workaround for broken maki hairdresser-18 icon

This commit is contained in:
Bryan Housel
2015-11-25 02:00:28 -05:00
parent a48e897df6
commit 093b2a5a60
+2 -1
View File
@@ -172,7 +172,8 @@ iD.svg.Labels = function(projection, context) {
icons.attr('transform', get(labels, 'transform'))
.attr('xlink:href', function(d) {
return '#' + context.presets().match(d, context.graph()).icon + '-18';
var icon = context.presets().match(d, context.graph()).icon;
return '#' + icon + (icon === 'hairdresser' ? '-24': '-18'); // workaround: maki hairdresser-18 broken?
});