diff --git a/app/components/input-panel/input-panel.component.ts b/app/components/input-panel/input-panel.component.ts index 7d3451a..23d650d 100644 --- a/app/components/input-panel/input-panel.component.ts +++ b/app/components/input-panel/input-panel.component.ts @@ -328,7 +328,7 @@ class ProgramResult { public steps = 0; public getStates() { - return this.output.states.slice(0, this.steps); + return this.output.states.slice(Math.max(0, this.steps - 40), this.steps); } public get totalSteps() {