mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Remove Clarity Boost restriction
This commit is contained in:
parent
7bd071d527
commit
a137c5eb57
@ -9368,24 +9368,6 @@ div[class*=StreamMenu-module__menuContainer] > div[class*=Menu-module] {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bx-quick-settings-bar:not([data-clarity-boost="true"]) .bx-clarity-boost-warning {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bx-quick-settings-bar[data-clarity-boost="true"] .bx-clarity-boost-warning {
|
|
||||||
display: block;
|
|
||||||
margin: 0px 8px;
|
|
||||||
padding: 12px;
|
|
||||||
font-size: 16px;
|
|
||||||
font-weight: normal;
|
|
||||||
background: #282828;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bx-quick-settings-bar[data-clarity-boost="true"] div[data-type="video"] {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bx-quick-settings-tab-contents *:focus {
|
.bx-quick-settings-tab-contents *:focus {
|
||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
@ -11294,9 +11276,6 @@ function injectStreamMenuButtons() {
|
|||||||
hideGripHandle();
|
hideGripHandle();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
const msVideoProcessing = $STREAM_VIDEO.msVideoProcessing;
|
|
||||||
$quickBar.setAttribute('data-clarity-boost', (msVideoProcessing && msVideoProcessing !== 'default'));
|
|
||||||
|
|
||||||
// Show Quick settings bar
|
// Show Quick settings bar
|
||||||
$quickBar.classList.remove('bx-gone');
|
$quickBar.classList.remove('bx-gone');
|
||||||
|
|
||||||
@ -11497,7 +11476,6 @@ function setupQuickSettingsBar() {
|
|||||||
group: 'video',
|
group: 'video',
|
||||||
label: t('video'),
|
label: t('video'),
|
||||||
help_url: 'https://better-xcloud.github.io/ingame-features/#video',
|
help_url: 'https://better-xcloud.github.io/ingame-features/#video',
|
||||||
note: CE('div', {'class': 'bx-quick-settings-bar-note bx-clarity-boost-warning'}, `⚠️ ${t('clarity-boost-warning')}`),
|
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
pref: Preferences.VIDEO_RATIO,
|
pref: Preferences.VIDEO_RATIO,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user