mirror of https://github.com/jetkvm/kvm.git
Compare commits
5 Commits
712e1e54d8
...
69608ab853
| Author | SHA1 | Date |
|---|---|---|
|
|
69608ab853 | |
|
|
a741bbe7e3 | |
|
|
1f7083a023 | |
|
|
dc7791c245 | |
|
|
9affd248f3 |
|
|
@ -417,7 +417,7 @@ export default function WebRTCVideo({ hasConnectionIssues }: { hasConnectionIssu
|
||||||
});
|
});
|
||||||
|
|
||||||
if (isRelativeMouseMode) {
|
if (isRelativeMouseMode) {
|
||||||
videoElmRefValue.addEventListener("click",
|
containerRef.current?.addEventListener("click",
|
||||||
() => {
|
() => {
|
||||||
if (isPointerLockPossible && !isPointerLockActive && !document.pointerLockElement) {
|
if (isPointerLockPossible && !isPointerLockActive && !document.pointerLockElement) {
|
||||||
requestPointerLock();
|
requestPointerLock();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue