Skip to content

Commit

Permalink
diff bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcnuttandrew committed Feb 20, 2024
1 parent b473ddf commit c42e550
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/content-modules/ComparePal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@
onFocusedColorsChange={() => {}}
startDragging={() => {}}
stopDragging={() => {}}
blindColors={(showDiff ? currentPal.colors : []).slice(
blindColors={(showDiff
? currentPal.colors.map((x) => x.toColorSpace(colorSpace))
: []
).slice(
0,
Math.min(ComparisonPal.colors.length, currentPal.colors.length)
)}
Expand Down

0 comments on commit c42e550

Please sign in to comment.