mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 22:03:37 +02:00
Workaround for broken maki hairdresser-18 icon
This commit is contained in:
+2
-1
@@ -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?
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user