Skip to content

Commit b5fd0ca

Browse files
committed
Merge branch 'dev' into main
2 parents 1551140 + d63c496 commit b5fd0ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/features/game/MoveList.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ interface MoveListProps {
2323

2424
export function MoveList({ id, mobileLayout }: MoveListProps) {
2525
const dispatch = useAppDispatch();
26+
const lowPowerMode = useAppSelector(({ settings }) => settings.lowPowerMode);
2627
const showingNudgeButton = useAppSelector(
2728
(state) => state.game.showingNudgeButton
2829
);
@@ -68,6 +69,7 @@ export function MoveList({ id, mobileLayout }: MoveListProps) {
6869
config: {
6970
clamp: true,
7071
},
72+
immediate: lowPowerMode,
7173
});
7274

7375
const bind = useDrag(

0 commit comments

Comments
 (0)