update at 2026-01-22 20:44:30
This commit is contained in:
@@ -66,7 +66,9 @@ export class SectorBuilder {
|
||||
this.insetDistance
|
||||
)
|
||||
: undefined;
|
||||
const hasInnerFillPath = Boolean(innerFillPath);
|
||||
const normalizedInnerFillPath =
|
||||
innerFillPath && innerFillPath.length > 0 ? innerFillPath : undefined;
|
||||
const hasInnerFillPath = Boolean(normalizedInnerFillPath);
|
||||
const baseFillColor = hasInnerFillPath ? '#ffffff' : fillColor;
|
||||
|
||||
const sectorKey = `L${layerIndex}-P${i}`;
|
||||
@@ -120,7 +122,7 @@ export class SectorBuilder {
|
||||
textColor,
|
||||
label: isMultiText ? '' : rawContent,
|
||||
path: annularSectorPath(layer.rInner, layer.rOuter, aStart, aEnd),
|
||||
innerFillPath,
|
||||
innerFillPath: normalizedInnerFillPath,
|
||||
innerFillColor: hasInnerFillPath ? fillColor : undefined,
|
||||
textPath,
|
||||
textPathId,
|
||||
|
||||
Reference in New Issue
Block a user