Skip to content

Commit

Permalink
fix(frontend): make selection show up on even numbered ranks too
Browse files Browse the repository at this point in the history
  • Loading branch information
DecentM committed Oct 7, 2023
1 parent e53405e commit e48d1a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const getCoords = (index: number) => {
:key="index"
class="indicator-square move-placeholder"
:class="{
even: index % 2 !== 0,
even: (getCoords(index).file + getCoords(index).rank) % 2 !== 0,
focus: coordinatesEqual(pieceFocus, getCoords(index)),
show: show(getCoords(index)),
capture: !coordsEmpty(getCoords(index)),
Expand Down

0 comments on commit e48d1a5

Please # to comment.