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