mirror of
				https://github.com/redphx/better-xcloud.git
				synced 2025-11-04 07:54:05 +01:00 
			
		
		
		
	Show stats bar on startup if Quick Glance mode is enabled
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user