fix: allow next / prev particle during pause
This commit is contained in:
@@ -30,7 +30,6 @@ export function useStreamNavigationKeys({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const onKeyDown = (e: KeyboardEvent) => {
|
const onKeyDown = (e: KeyboardEvent) => {
|
||||||
if (isTypingTarget(e)) return;
|
if (isTypingTarget(e)) return;
|
||||||
if (selectIsPaused(usePlaybackPauseStore.getState())) return;
|
|
||||||
|
|
||||||
const hasNext = currentIndex >= 0 && currentIndex < childrenLength - 1;
|
const hasNext = currentIndex >= 0 && currentIndex < childrenLength - 1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user