Show gyroscope settings if the custom layout supports it

This commit is contained in:
redphx
2024-05-12 12:26:34 +07:00
parent be897848fe
commit 41effff226
3 changed files with 18 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ window.addEventListener(BxEvent.STREAM_STOPPED, e => {
STATES.isPlaying = false;
STATES.currentStream = {};
window.BX_EXPOSED.shouldShowSensorControls = false;
// Stop MKB listeners
getPref(PrefKey.MKB_ENABLED) && MkbHandler.INSTANCE.destroy();