Skip to content

Commit

Permalink
Fix range painting
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Oct 4, 2024
1 parent c75e2cd commit a6e1906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion view/range/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function paint(
if (space !== Space.Out) {
ctx.fillStyle = canvasFormat(color)
if (space !== Space.sRGB) {
ctx.fillRect(x, halfHeight, 1, halfHeight)
ctx.fillRect(x, halfHeight, 1, halfHeight + 1)
ctx.fillStyle = space === Space.P3 ? borderP3 : borderRec2020
ctx.fillRect(x, halfHeight, 1, 1)
let fallback = toRgb(color)
Expand Down

0 comments on commit a6e1906

Please sign in to comment.