mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Use the icon class when selecting icons
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
export function svgIcon(name, svgklass, useklass) {
|
||||
return function drawIcon(selection) {
|
||||
selection.selectAll('svg.icon')
|
||||
selection.selectAll('svg.icon' + (svgklass ? '.' + svgklass : ''))
|
||||
.data([0])
|
||||
.enter()
|
||||
.append('svg')
|
||||
|
||||
Reference in New Issue
Block a user