mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Replays: Fix controls when skipping to first turn (#2562)
This commit is contained in:
parent
d728ac24d4
commit
a204b277ed
|
|
@ -241,6 +241,7 @@ export class BattlePanel extends preact.Component<{ id: string }> {
|
|||
};
|
||||
firstTurn = () => {
|
||||
this.battle?.seekTurn(0);
|
||||
this.forceUpdate();
|
||||
};
|
||||
lastTurn = () => {
|
||||
this.battle?.seekTurn(Infinity);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user