Skip to content

Commit

Permalink
reduce close time
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronshiel committed Oct 8, 2024
1 parent a20212c commit 2fe4099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/hooks/controls-disable-helper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function controlsDisableHelper(paused: boolean): ControlsDisableHelper {

useInterval(
() => {
if (Date.now() - lastInteractionTime > 10000) {
if (Date.now() - lastInteractionTime > 3000) {
//10 seconds
setEnabled(false);
}
Expand Down

0 comments on commit 2fe4099

Please sign in to comment.