Skip to content

Commit

Permalink
fix(damage): player border position on redside
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Mar 2, 2024
1 parent 48d52e3 commit 01281c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/details/matchDamage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const getRectArguments = (participant: Participant, blueSidePlayers: Participant
const y =
options.padding +
(options.championIconSize + options.championIconSpace) * index +
(isBlueSide ? 0 : options.padding * 2);
(isBlueSide ? 0 : (options.championIconSize + options.championIconSpace) * 5 + options.padding * 2);

return { x, y, width, height };
};

0 comments on commit 01281c2

Please sign in to comment.