mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-19 01:24:26 +00:00
Delay pointer controls in fullscreen to avoid weird jumps in Zen (FF)
This commit is contained in:
parent
7adddee6ff
commit
e53f31073f
1 changed files with 1 additions and 1 deletions
|
|
@ -68,8 +68,8 @@ rootEl.addEventListener("fullscreenchange", async () => {
|
|||
|
||||
cursor(!fs);
|
||||
gui.toggle(footerEl, fs);
|
||||
await controls(fs);
|
||||
state.current?.onFullscreen?.(fs);
|
||||
setTimeout(() => controls(fs), 199);
|
||||
});
|
||||
|
||||
sub(REFRESH_INPUT, async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue