From b628b684ae92ab435c21ddf55fa3d2aa96fab720 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Wed, 18 Sep 2024 07:31:58 -0700 Subject: [PATCH 1/2] require limit to specified (nonzero) for shuffle all --- .../features/player/components/shuffle-all-modal.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/renderer/features/player/components/shuffle-all-modal.tsx b/src/renderer/features/player/components/shuffle-all-modal.tsx index 7005797c..33e1e6d6 100644 --- a/src/renderer/features/player/components/shuffle-all-modal.tsx +++ b/src/renderer/features/player/components/shuffle-all-modal.tsx @@ -145,7 +145,7 @@ export const ShuffleAllModal = ({ max={500} min={1} value={limit} - onChange={(e) => setStore({ limit: e ? Number(e) : 0 })} + onChange={(e) => setStore({ limit: e ? Number(e) : 500 })} />