update at 2026-01-22 20:07:13
This commit is contained in:
@@ -66,6 +66,7 @@ export class SectorBuilder {
|
|||||||
this.insetDistance
|
this.insetDistance
|
||||||
)
|
)
|
||||||
: undefined;
|
: undefined;
|
||||||
|
const baseFillColor = innerFill ? '#ffffff' : fillColor;
|
||||||
|
|
||||||
const sectorKey = `L${layerIndex}-P${i}`;
|
const sectorKey = `L${layerIndex}-P${i}`;
|
||||||
const textPathId = `text-path-${sectorKey}`;
|
const textPathId = `text-path-${sectorKey}`;
|
||||||
@@ -114,7 +115,7 @@ export class SectorBuilder {
|
|||||||
aMidRad: centroid.aMidRad,
|
aMidRad: centroid.aMidRad,
|
||||||
cx: centroid.cx,
|
cx: centroid.cx,
|
||||||
cy: centroid.cy,
|
cy: centroid.cy,
|
||||||
fill: fillColor,
|
fill: baseFillColor,
|
||||||
textColor,
|
textColor,
|
||||||
label: isMultiText ? '' : rawContent,
|
label: isMultiText ? '' : rawContent,
|
||||||
path: annularSectorPath(layer.rInner, layer.rOuter, aStart, aEnd),
|
path: annularSectorPath(layer.rInner, layer.rOuter, aStart, aEnd),
|
||||||
|
|||||||
Reference in New Issue
Block a user