Fix unexpected behavior with Stream bar when using Quest VR profile

This commit is contained in:
redphx
2024-05-11 10:47:29 +07:00
parent 6b88f73e34
commit b3033089ed
3 changed files with 6 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ function cloneStreamHudButton($orgButton: HTMLElement, label: string, svgIcon: t
}
};
if (STATES.hasTouchSupport) {
if (STATES.browserHasTouchSupport) {
$container.addEventListener('transitionstart', onTransitionStart);
$container.addEventListener('transitionend', onTransitionEnd);
}