willb335 / chessboardjsx

:black_square_button: Chessboard built for React
https://chessboardjsx.com
MIT License
267 stars 79 forks source link

Piece discoloration after rook/queen capture #78

Open lawang24 opened 1 year ago

lawang24 commented 1 year ago

After capturing a queen with a queen or rook with a rook, the piece is severely discolored.

image

JuanViPerea commented 3 days ago

I get this same issue, randomly, when the pieces are first placed on the board. The problem fixes after slightly dragging the piece, capturing(I think?) or pressing F5. Happens with the queens and the rooks

EDIT: Issue is solved in another issue for this same topic. Queen and rook have a wrong hex value of '000000' instead of '#000000'. Afaik can be fixed locally in [...].vite\deps\chessboardjsx.js.map