mirror of
				https://github.com/redphx/better-xcloud.git
				synced 2025-10-31 05:54:01 +01:00 
			
		
		
		
	Hide scrollbar setting in the app
This commit is contained in:
		| @@ -10521,9 +10521,9 @@ function injectSettingsButton($parent) { | |||||||
|         }, |         }, | ||||||
|         [t('ui')]: { |         [t('ui')]: { | ||||||
|             [Preferences.UI_LAYOUT]: t('layout'), |             [Preferences.UI_LAYOUT]: t('layout'), | ||||||
|             [Preferences.UI_SCROLLBAR_HIDE]: t('hide-scrollbar'), |  | ||||||
|             [Preferences.STREAM_SIMPLIFY_MENU]: t('simplify-stream-menu'), |             [Preferences.STREAM_SIMPLIFY_MENU]: t('simplify-stream-menu'), | ||||||
|             [Preferences.SKIP_SPLASH_VIDEO]: t('skip-splash-video'), |             [Preferences.SKIP_SPLASH_VIDEO]: t('skip-splash-video'), | ||||||
|  |             [!AppInterface && Preferences.UI_SCROLLBAR_HIDE]: t('hide-scrollbar'), | ||||||
|             [Preferences.HIDE_DOTS_ICON]: t('hide-system-menu-icon'), |             [Preferences.HIDE_DOTS_ICON]: t('hide-system-menu-icon'), | ||||||
|             [Preferences.REDUCE_ANIMATIONS]: t('reduce-animations'), |             [Preferences.REDUCE_ANIMATIONS]: t('reduce-animations'), | ||||||
|         }, |         }, | ||||||
| @@ -10571,7 +10571,7 @@ function injectSettingsButton($parent) { | |||||||
|  |  | ||||||
|         for (let settingId in SETTINGS_UI[groupLabel]) { |         for (let settingId in SETTINGS_UI[groupLabel]) { | ||||||
|             // Don't render custom settings |             // Don't render custom settings | ||||||
|             if (settingId.startsWith('_')) { |             if (settingId === 'undefined' || settingId.startsWith('_')) { | ||||||
|                 continue; |                 continue; | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 redphx
					redphx