mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 01:24:05 +02:00
Cleaner note icon rendering
Before: We drew 2 fontawesome comment icons, on on top of the other After: Moved icon into iD spritesheet and gave it an actual `stroke` property that can be styled
This commit is contained in:
@@ -24,12 +24,7 @@ export function uiNoteHeader() {
|
||||
iconEnter
|
||||
.append('div')
|
||||
.attr('class', 'preset-icon-28')
|
||||
.call(svgIcon('#fas-comment-alt', 'note-shadow'));
|
||||
|
||||
iconEnter
|
||||
.append('div')
|
||||
.attr('class', 'preset-icon-24')
|
||||
.call(svgIcon('#fas-comment-alt', 'note-fill'));
|
||||
.call(svgIcon('#iD-icon-note', 'note-fill'));
|
||||
|
||||
headerEnter
|
||||
.append('div')
|
||||
|
||||
Reference in New Issue
Block a user