Replays: Fix controls when skipping to first turn (#2562)

This commit is contained in:
boughtabigk1
2025-12-05 02:07:06 -05:00
committed by GitHub
parent d728ac24d4
commit a204b277ed

View File

@@ -241,6 +241,7 @@ export class BattlePanel extends preact.Component<{ id: string }> {
};
firstTurn = () => {
this.battle?.seekTurn(0);
this.forceUpdate();
};
lastTurn = () => {
this.battle?.seekTurn(Infinity);