mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-04 14:08:13 +02:00
Limit backgrounds to areas
This commit is contained in:
@@ -57,7 +57,7 @@ iD.ui.PresetGrid = function() {
|
||||
.attr('class','grid-inner fillL');
|
||||
inner.append('div')
|
||||
.attr('class', function(d) {
|
||||
var s = 'preset-icon-fill ' + d.match.type.join(' ');
|
||||
var s = 'preset-icon-fill ' + entity.geometry(context.graph());
|
||||
for (var i in d.match.tags) {
|
||||
s += ' tag-' + i + ' tag-' + i + '-' + d.match.tags[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user