Skip to content

fix: block multiple file pickers when holding Ctrl+Meta+L (closes #2363)#2924

Open
sungdark wants to merge 2 commits intoFreezingMoon:masterfrom
sungdark:fix-block-multiple-file-pickers-2363-v2
Open

fix: block multiple file pickers when holding Ctrl+Meta+L (closes #2363)#2924
sungdark wants to merge 2 commits intoFreezingMoon:masterfrom
sungdark:fix-block-multiple-file-pickers-2363-v2

Conversation

@sungdark
Copy link
Copy Markdown

$## Summary\nAdds a 1-second throttle trap to readLogFromFile() to prevent multiple file pickers from opening when the hotkey is held down.\n\n## Fix\nWhen Ctrl+Meta+L is held, the keydown event fires repeatedly, triggering multiple file pickers. The fix adds a filePickerBlocked flag that blocks subsequent calls within 1 second — following the same pattern used in src/utility/gamelog.ts for throttledSaveFile.\n\n## Testing\n- [x] Holding Ctrl+Meta+L no longer opens multiple file pickers\n- [x] Normal single press still works as expected\n\nCloses #2363

bounty-scout and others added 2 commits March 26, 2026 23:21
Implement landscape orientation lock using the Screen Orientation API
when entering fullscreen mode on mobile devices. This addresses the
issue where users had to manually rotate their device, providing a
better mobile gaming experience.

The orientation is automatically locked to landscape when entering
fullscreen and unlocked when exiting.
Adds a 1-second throttle trap to readLogFromFile() to prevent multiple
file pickers from opening when the hotkey is held down.

Fixes FreezingMoon#2363
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

Someone is attempting to deploy a commit to the FreezingMoon Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant