mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Fix borken layout
This commit is contained in:
parent
76d99a994a
commit
140005bda5
@ -2246,9 +2246,6 @@ function injectVideoSettingsButton() {
|
||||
|
||||
|
||||
function patchVideoApi() {
|
||||
// Get title ID for screenshot's name
|
||||
GAME_TITLE_ID = /\/launch\/([^/]+)/.exec(window.location.pathname)[1];
|
||||
|
||||
const PREF_SKIP_SPLASH_VIDEO = PREFS.get(Preferences.SKIP_SPLASH_VIDEO);
|
||||
const PREF_SCREENSHOT_BUTTON_POSITION = PREFS.get(Preferences.SCREENSHOT_BUTTON_POSITION);
|
||||
|
||||
@ -2547,6 +2544,9 @@ function onHistoryChanged() {
|
||||
|
||||
|
||||
function onStreamStarted($video) {
|
||||
// Get title ID for screenshot's name
|
||||
GAME_TITLE_ID = /\/launch\/([^/]+)/.exec(window.location.pathname)[1];
|
||||
|
||||
const PREF_SCREENSHOT_BUTTON_POSITION = PREFS.get(Preferences.SCREENSHOT_BUTTON_POSITION);
|
||||
const PREF_STATS_QUICK_GLANCE = PREFS.get(Preferences.STATS_QUICK_GLANCE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user