Extract all graphics from iD sprite, reassemble with svg-sprite

All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
This commit is contained in:
Bryan Housel
2018-06-08 16:06:46 -04:00
parent 2ef12f8bca
commit 470835b38f
309 changed files with 2276 additions and 504 deletions

View File

@@ -52,7 +52,7 @@ export function uiCommitChanges(context) {
itemsEnter
.each(function(d) {
d3_select(this)
.call(svgIcon('#icon-' + d.entity.geometry(d.graph), 'pre-text ' + d.changeType));
.call(svgIcon('#iD-icon-' + d.entity.geometry(d.graph), 'pre-text ' + d.changeType));
});
itemsEnter
@@ -124,7 +124,7 @@ export function uiCommitChanges(context) {
}
linkEnter
.call(svgIcon('#icon-load', 'inline'))
.call(svgIcon('#iD-icon-load', 'inline'))
.append('span')
.text(t('commit.download_changes'));