Compare commits
No commits in common. "f728cbf817ed44233f7b23c2d8d39aca4796dfa1" and "a7a36033a24827b5b32d7dcb090bf575aa2c452e" have entirely different histories.
f728cbf817
...
a7a36033a2
@ -314,7 +314,6 @@ export interface SiteSettingsInterface {
|
|||||||
enableKeyboard: ExtensionEnvironmentSettingsInterface;
|
enableKeyboard: ExtensionEnvironmentSettingsInterface;
|
||||||
enableUI: ExtensionEnvironmentSettingsInterface; // Lies! enableUI doesn't use 'theater' property (but uses the other two)
|
enableUI: ExtensionEnvironmentSettingsInterface; // Lies! enableUI doesn't use 'theater' property (but uses the other two)
|
||||||
|
|
||||||
autocreated?: boolean;
|
|
||||||
type?: 'official' | 'community' | 'user-defined' | 'testing' | 'officially-disabled' | 'unknown' | 'modified';
|
type?: 'official' | 'community' | 'user-defined' | 'testing' | 'officially-disabled' | 'unknown' | 'modified';
|
||||||
defaultType: 'official' | 'community' | 'user-defined' | 'testing' | 'officially-disabled' | 'unknown' | 'modified';
|
defaultType: 'official' | 'community' | 'user-defined' | 'testing' | 'officially-disabled' | 'unknown' | 'modified';
|
||||||
|
|
||||||
|
@ -40,6 +40,8 @@ body {
|
|||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* overflow stuff */
|
/* overflow stuff */
|
||||||
.overflow-y-auto {
|
.overflow-y-auto {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -50,19 +52,6 @@ body {
|
|||||||
scrollbar-color: rgba($primary-color, 0.5) $background-primary;
|
scrollbar-color: rgba($primary-color, 0.5) $background-primary;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 5px;
|
|
||||||
}
|
|
||||||
::-webkit-scrollbar-track {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background-color: rgba(#fa6, 0.5);
|
|
||||||
border-radius: 20px;
|
|
||||||
border: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* scrollbars for chrome/webkit */
|
/* scrollbars for chrome/webkit */
|
||||||
.overflow-y-auto::-webkit-scrollbar {
|
.overflow-y-auto::-webkit-scrollbar {
|
||||||
|
@ -10,6 +10,26 @@
|
|||||||
Show settings window
|
Show settings window
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<b>Is your screen entirely white or entirely black?</b>
|
||||||
|
|
||||||
|
<p>This appears to be a rare issue that happens to some people. If you're experiencing this issue, please consider contacting me and sharing the following data:</p>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li>Which sites this problem appears on and whether it happens on youtube. If you use youtube premium, please try signing out of youtube (or use a new profile in Google Chrome) in order to see whether youtube premium is required.</li>
|
||||||
|
<li>your browser. if using browsers other than Chrome, please try to reproduce this issue in Chrome</li>
|
||||||
|
<li>your operating system</li>
|
||||||
|
<li>your graphics card</li>
|
||||||
|
<li>the following line:<br/>
|
||||||
|
<pre>prefers-color-scheme dark: {{pageData.pcsDark}}; prefers-color-scheme light: {{pageData.pcsLight}}; color-scheme: {{pageData.colorScheme}}</pre>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<p>Please post this info to <a href="https://github.com/tamius-han/ultrawidify/issues/262" target="_blank">this thread</a>, or message me via e-mail.</p>
|
||||||
|
|
||||||
|
<p>Then, disable the in-player UI.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- <p></p>
|
<!-- <p></p>
|
||||||
<p></p>
|
<p></p>
|
||||||
<p>In-player UI should show and hide automatically as you start or stop moving your mouse inside the player window.</p>
|
<p>In-player UI should show and hide automatically as you start or stop moving your mouse inside the player window.</p>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
is geoblocked.
|
is geoblocked.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="siteSupportLevel === 'no-support' || siteSupportLevel === 'unknown'" class="site-support no-support">
|
<div v-if="siteSupportLevel === 'no-support'" class="site-support no-support">
|
||||||
<mdicon name="help-circle-outline" />
|
<mdicon name="help-circle-outline" />
|
||||||
<div v-if="!small">Unknown</div>
|
<div v-if="!small">Unknown</div>
|
||||||
<div class="tooltip">
|
<div class="tooltip">
|
||||||
|
@ -307,18 +307,10 @@ export class SiteSettings {
|
|||||||
* @param optionValue new value of option
|
* @param optionValue new value of option
|
||||||
* @param reload whether we should trigger a reload in components that require it
|
* @param reload whether we should trigger a reload in components that require it
|
||||||
*/
|
*/
|
||||||
async set(optionPath: string, optionValue: any, options: {reload?: boolean, noSave?: boolean, scripted?: boolean} = {reload: false}) {
|
async set(optionPath: string, optionValue: any, options: {reload?: boolean, noSave?: boolean} = {reload: false}) {
|
||||||
// if no settings exist for this site, create an empty object.
|
// if no settings exist for this site, create an empty object
|
||||||
// If this function is not being called in response to user actin,
|
if (!this.settings.active.sites[this.site]) {
|
||||||
// create fake settings object.
|
this.settings.active.sites[this.site] = _cp(this.settings.active.sites['@empty']);
|
||||||
if (options.scripted && !this.settings.active.sites[this.site]) {
|
|
||||||
this.settings.active.sites[this.site] = _cp(this.settings.active.sites['@global']);
|
|
||||||
this.settings.active.sites[this.site].autocreated = true;
|
|
||||||
this.settings.active.sites[this.site].type = 'unknown';
|
|
||||||
} else {
|
|
||||||
if (!this.settings.active.sites[this.site] || this.settings.active.sites[this.site].autocreated) {
|
|
||||||
this.settings.active.sites[this.site] = _cp(this.settings.active.sites['@empty']);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const pathParts = optionPath.split('.');
|
const pathParts = optionPath.split('.');
|
||||||
|
@ -718,7 +718,7 @@ class PlayerData {
|
|||||||
} else {
|
} else {
|
||||||
bestCandidate.heuristics['autoMatch'] = true;
|
bestCandidate.heuristics['autoMatch'] = true;
|
||||||
if (this.siteSettings.data.playerAutoConfig?.initialIndex !== bestCandidate.index) {
|
if (this.siteSettings.data.playerAutoConfig?.initialIndex !== bestCandidate.index) {
|
||||||
this.siteSettings.set('playerAutoConfig.initialIndex', bestCandidate.index, {reload: false, scripted: true});
|
this.siteSettings.set('playerAutoConfig.initialIndex', bestCandidate.index, {reload: false});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user