mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 05:49:16 +02:00
Workarounds for Maki
This commit is contained in:
+1
-1
@@ -840,7 +840,7 @@ button.save.has-count .count::before {
|
||||
.preset-icon-32 {
|
||||
position: absolute;
|
||||
top: 14px;
|
||||
left: 14px;
|
||||
left: 13px; /* Maki icons off center? */
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,10 @@ iD.ui.PresetIcon = function() {
|
||||
.classed('preset-icon-32', isMaki);
|
||||
|
||||
$icon.selectAll('use')
|
||||
.attr('href', function() { return '#' + icon + (isMaki ? '-24' : ''); });
|
||||
.attr('href', function() {
|
||||
// workaround: maki parking-24 broken?
|
||||
return '#' + icon + (isMaki ? ( icon === 'parking' ? '-18' : '-24') : '');
|
||||
});
|
||||
}
|
||||
|
||||
presetIcon.preset = function(_) {
|
||||
|
||||
Reference in New Issue
Block a user