Loading apps/demo/src/components/scrcpy/command-bar.tsx +6 −2 Original line number Diff line number Diff line Loading @@ -77,9 +77,13 @@ const ITEMS = computed(() => { iconProps: { iconName: Icons.FullScreenMaximize }, iconOnly: true, text: "Fullscreen", onClick: () => { onClick: (async () => { STATE.deviceView?.enterFullscreen(); }, if ("keyboard" in navigator) { // @ts-expect-error await navigator.keyboard.lock(); } }) as () => void, }); result.push( Loading apps/demo/src/components/scrcpy/state.tsx +4 −0 Original line number Diff line number Diff line Loading @@ -368,6 +368,10 @@ export class ScrcpyPageState { clearTimeout(this.fpsCounterIntervalId); document.exitFullscreen().catch(NOOP); if ("keyboard" in navigator) { // @ts-expect-error navigator.keyboard.unlock(); } this.client = undefined; this.running = false; Loading Loading
apps/demo/src/components/scrcpy/command-bar.tsx +6 −2 Original line number Diff line number Diff line Loading @@ -77,9 +77,13 @@ const ITEMS = computed(() => { iconProps: { iconName: Icons.FullScreenMaximize }, iconOnly: true, text: "Fullscreen", onClick: () => { onClick: (async () => { STATE.deviceView?.enterFullscreen(); }, if ("keyboard" in navigator) { // @ts-expect-error await navigator.keyboard.lock(); } }) as () => void, }); result.push( Loading
apps/demo/src/components/scrcpy/state.tsx +4 −0 Original line number Diff line number Diff line Loading @@ -368,6 +368,10 @@ export class ScrcpyPageState { clearTimeout(this.fpsCounterIntervalId); document.exitFullscreen().catch(NOOP); if ("keyboard" in navigator) { // @ts-expect-error navigator.keyboard.unlock(); } this.client = undefined; this.running = false; Loading