Commit 5e130a41 authored by Hines, Jesse's avatar Hines, Jesse
Browse files

Tweaks to playback rates

parent f8877b14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ import { Listbox, Transition } from "@headlessui/react";
import { Fragment } from "react";
import { Tooltip } from "react-tooltip";

const rates = [1, 2, 5, 10, 20, 50, 100];
const rates = [1, 2, 5, 10, 20, 50];

export function PlaybackRateSelector(props: {
  value: number;
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ export const snapReplayTimestamp = (
 * from the whole simulation.
 */
export const useReplay = <T extends TimeSeriesPoint>({
  sim, query, timestamp, stepInterval, stepsPerQuery = 20, summarize = false,
  sim, query, timestamp, stepInterval, stepsPerQuery = 100, summarize = false,
}: UseReplayOptions<T>): UseReplayResult<T> => {
  const queryClient = useQueryClient()