Skip to content

Commit

Permalink
arrow dot
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahhh committed Dec 16, 2024
1 parent c2bbb1b commit e4ac0cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ async function main() {
stretch: 1,
stretchMin: 0,
stretchMax: 50,
padStart: 4,
padStart: 3,
padEnd: 8,
flip: (getSector(angle) % 2 === 0) !== angleAroundCenter > 0,
straights: false,
Expand All @@ -853,6 +853,9 @@ async function main() {
lyr.shadowOffsetY = 2;
lyr.shadowBlur = 10;

lyr.arc(...removalPt, 3, 0, Math.PI * 2);
lyr.fill();

drawArrow(lyr, arrow, {
headLength: Math.min(12, dist / 4),
headWidth: 8,
Expand Down

0 comments on commit e4ac0cf

Please sign in to comment.