mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Put back the selected class when redrawing selected lines
This commit is contained in:
@@ -57,7 +57,9 @@ export function svgLines(projection, context) {
|
||||
// works because osmEntity.key is defined to include the entity v attribute.
|
||||
lines.enter()
|
||||
.append('path')
|
||||
.attr('class', function(d) { return 'way line ' + klass + ' ' + d.id; })
|
||||
.attr('class', function(d) {
|
||||
return 'way line ' + klass + ' ' + d.id + (isSelected ? ' selected' : '');
|
||||
})
|
||||
.call(svgTagClasses())
|
||||
.merge(lines)
|
||||
.sort(waystack)
|
||||
|
||||
Reference in New Issue
Block a user