update at 2026-01-22 20:17:52

This commit is contained in:
douboer@gmail.com
2026-01-22 20:17:52 +08:00
parent 4b371d3929
commit 1397ec5bf7
3 changed files with 5 additions and 16 deletions

View File

@@ -66,6 +66,7 @@ export class SectorBuilder {
this.insetDistance
)
: undefined;
const baseFillColor = innerFill ? '#ffffff' : fillColor;
const sectorKey = `L${layerIndex}-P${i}`;
const textPathId = `text-path-${sectorKey}`;
@@ -114,7 +115,7 @@ export class SectorBuilder {
aMidRad: centroid.aMidRad,
cx: centroid.cx,
cy: centroid.cy,
fill: fillColor,
fill: baseFillColor,
textColor,
label: isMultiText ? '' : rawContent,
path: annularSectorPath(layer.rInner, layer.rOuter, aStart, aEnd),