Skip to content

fix: gap wedge edges missing stroke outline#15

Merged
masonlet merged 4 commits into
mainfrom
fix/gap-stroke
Jul 12, 2026
Merged

fix: gap wedge edges missing stroke outline#15
masonlet merged 4 commits into
mainfrom
fix/gap-stroke

Conversation

@masonlet

Copy link
Copy Markdown
Member

Summary

Fixes #14

When gap_type=gap, the gap wedge was rendered without any stroke, so
the two segment boundaries around the gap looked thinner than every
other boundary. With stroke=true, the gap's two radial edges now get
the same black outline as segment borders. The gap's inner/outer arcs
stay bare, only the shared boundaries change, matching the existing
stroke behavior.

Changes

  • fix in createDonutSegments (src/charts/geometry.ts)
  • test covering stroke=true (3 outlines) and stroke=false (unchanged)
  • version bump to 1.2.1

@masonlet
masonlet merged commit 56105b1 into main Jul 12, 2026
2 checks passed
@masonlet
masonlet deleted the fix/gap-stroke branch July 12, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gap wedge stroke is inconsistent with segment strokes

1 participant