mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Show stats bar on startup if Quick Glance mode is enabled
This commit is contained in:
parent
a5d340e4e8
commit
d6852e132d
@ -2546,8 +2546,11 @@ function onStreamStarted($video) {
|
||||
const PREF_SCREENSHOT_BUTTON_POSITION = PREFS.get(Preferences.SCREENSHOT_BUTTON_POSITION);
|
||||
const PREF_STATS_QUICK_GLANCE = PREFS.get(Preferences.STATS_QUICK_GLANCE);
|
||||
|
||||
// Setup Stat's Quick Glance mode
|
||||
if (PREF_STATS_QUICK_GLANCE) {
|
||||
StreamStats.quickGlanceSetup();
|
||||
// Show stats bar
|
||||
StreamStats.start(true);
|
||||
}
|
||||
|
||||
$STREAM_VIDEO = $video;
|
||||
|
Loading…
x
Reference in New Issue
Block a user