Skip to content

Commit

Permalink
Fix for tape mode not centering properly on window resize
Browse files Browse the repository at this point in the history
  • Loading branch information
laroccol committed Dec 25, 2024
1 parent 799656d commit d6ee560
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/ts/test/test-ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,8 @@ export function scrollTape(): void {
} else {
$("#words").css("margin-left", `${newMargin}px`);
}

setTimeout(() => $("#wordsWrapper").scrollLeft(0));
}

export function updatePremid(): void {
Expand Down

0 comments on commit d6ee560

Please sign in to comment.