Skip to content

Commit c221189

Browse files
Fix text alignment reset
1 parent 130a277 commit c221189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/playback/Bodies.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,12 @@ export class Body {
436436
ctx.font = '0.5px serif'
437437
ctx.fillStyle = this.team.color
438438
ctx.textAlign = 'right'
439-
ctx.textBaseline = 'top'
440439
ctx.shadowColor = 'black'
441440
ctx.shadowBlur = 10
442441
ctx.fillText(numeral, coords.x + 1 - 0.05, coords.y + 0.4)
443442
ctx.shadowColor = ''
444443
ctx.shadowBlur = 0
444+
ctx.textAlign = 'start'
445445
}
446446

447447
public getInterpolatedCoords(match: Match): Vector {

0 commit comments

Comments
 (0)