mirror of https://github.com/jetkvm/kvm.git
Merge a741bbe7e3 into 4090592112
This commit is contained in:
commit
bb21e2c2d6
|
|
@ -417,7 +417,7 @@ export default function WebRTCVideo({ hasConnectionIssues }: { hasConnectionIssu
|
|||
});
|
||||
|
||||
if (isRelativeMouseMode) {
|
||||
videoElmRefValue.addEventListener("click",
|
||||
containerRef.current?.addEventListener("click",
|
||||
() => {
|
||||
if (isPointerLockPossible && !isPointerLockActive && !document.pointerLockElement) {
|
||||
requestPointerLock();
|
||||
|
|
|
|||
Loading…
Reference in New Issue