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