Complete map display page
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
$: isRight = feature.diverges === 'right';
|
||||
|
||||
$: yStart = visualUp ? 64 : 0;
|
||||
$: yEnd = visualUp ? 0 : 64;
|
||||
$: xEnd = isRight ? 64 : 0;
|
||||
$: yEnd = visualUp ? 8 : 56;
|
||||
$: xEnd = isRight ? 56 : 8;
|
||||
|
||||
$: branchColour = getElecColour(feature.elecBranch || activeElec);
|
||||
$: branchPath = `M 32 ${yStart} Q 32 32 ${xEnd} ${yEnd}`;
|
||||
|
||||
Reference in New Issue
Block a user