mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 09:04:02 +02:00
fix non-integer layer tag causing invisible features (#9933)
This commit is contained in:
@@ -247,7 +247,7 @@ export function svgLines(projection, context) {
|
||||
}
|
||||
|
||||
ways = ways.filter(getPath);
|
||||
var pathdata = utilArrayGroupBy(ways, function(way) { return way.layer(); });
|
||||
const pathdata = utilArrayGroupBy(ways, (way) => Math.trunc(way.layer()));
|
||||
|
||||
Object.keys(pathdata).forEach(function(k) {
|
||||
var v = pathdata[k];
|
||||
|
||||
Reference in New Issue
Block a user