mirror of https://github.com/jetkvm/kvm.git
feat: allow pointer lock when no video
This commit is contained in:
parent
fe77acd5f0
commit
9affd248f3
|
@ -542,7 +542,7 @@ export default function WebRTCVideo() {
|
||||||
style={{ animationDuration: "500ms" }}
|
style={{ animationDuration: "500ms" }}
|
||||||
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center"
|
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center"
|
||||||
>
|
>
|
||||||
<div className="relative h-full w-full rounded-md">
|
<div className="relative h-full w-full rounded-md" onClick={requestPointerLock}>
|
||||||
<LoadingVideoOverlay show={isVideoLoading} />
|
<LoadingVideoOverlay show={isVideoLoading} />
|
||||||
<HDMIErrorOverlay show={hdmiError} hdmiState={hdmiState} />
|
<HDMIErrorOverlay show={hdmiError} hdmiState={hdmiState} />
|
||||||
<NoAutoplayPermissionsOverlay
|
<NoAutoplayPermissionsOverlay
|
||||||
|
|
Loading…
Reference in New Issue