mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-07-31 10:26:42 +02:00
Fix borken layout
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user