mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-03 06:07:19 +02:00
Bug fixes
This commit is contained in:
parent
d376e4b8be
commit
563a398975
@ -44,9 +44,6 @@ if (window.location.pathname.includes('/auth/msa')) {
|
||||
|
||||
console.log(`[Better xCloud] readyState: ${document.readyState}`);
|
||||
|
||||
console.log(BxEvent.CUSTOM_TOUCH_LAYOUTS_LOADED)
|
||||
console.log(BX_FLAGS)
|
||||
|
||||
if (BX_FLAGS.SafariWorkaround && document.readyState !== 'loading') {
|
||||
// Stop loading
|
||||
window.stop();
|
||||
|
@ -95,7 +95,7 @@ function setupQuickSettingsBar() {
|
||||
pref: PrefKey.AUDIO_VOLUME,
|
||||
label: t('volume'),
|
||||
onChange: (e: any, value: number) => {
|
||||
STATES.currentStream && (STATES.currentStream.audioGainNode!.gain.value = value / 100)
|
||||
STATES.currentStream.audioGainNode && (STATES.currentStream.audioGainNode.gain.value = value / 100);
|
||||
},
|
||||
params: {
|
||||
disabled: !getPref(PrefKey.AUDIO_ENABLE_VOLUME_CONTROL),
|
||||
|
Loading…
x
Reference in New Issue
Block a user