mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 15:05:32 +00:00
Update onway arrow font size
This commit is contained in:
@@ -56,7 +56,9 @@ iD.svg.Lines = function(projection) {
|
||||
}
|
||||
|
||||
if (!alength) {
|
||||
var arrow = surface.append('text').text(arrowtext);
|
||||
var arrow = surface.append('text')
|
||||
.text(arrowtext)
|
||||
.style('font-size', 7);
|
||||
alength = arrow.node().getComputedTextLength();
|
||||
arrow.remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user