Limit backgrounds to areas

This commit is contained in:
Ansis Brammanis
2013-02-20 16:49:55 -05:00
parent 270676c548
commit e17d7ecd63
+1 -1
View File
@@ -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];
}