Skip to content

Commit

Permalink
White outlines
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Oct 20, 2024
1 parent 11acf72 commit 0133aef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/color-buddy/src/scatterplot/ColorScatterPlot.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@
{#if scatterPlotMode === "moving"}
<rect
{...RectProps(color, i)}
stroke={computeStroke(color, i, focusSet, bg)}
on:mousedown|preventDefault={pointMouseDown}
on:mouseup|preventDefault={pointMouseUp(i)}
on:mouseleave|preventDefault={switchToDragPoint(i)}
Expand All @@ -553,6 +554,7 @@
{:else}
<rect
{...RectProps(color, i)}
stroke={computeStroke(color, i, focusSet, bg)}
on:mouseenter|preventDefault={() => hoverPoint(i)}
/>
{/if}
Expand Down

0 comments on commit 0133aef

Please sign in to comment.