Fixed background being black in OBS
This commit is contained in:
parent
632490d520
commit
bec5e369ed
@ -295,6 +295,7 @@ export default class Home extends Component {
|
||||
render() {
|
||||
const { loading, isValidScoresaber, data } = this.state;
|
||||
|
||||
// When in the main menu, show this colour so it's actually readable
|
||||
if (!isValidScoresaber && !loading) {
|
||||
const body = document.body;
|
||||
body.style.backgroundColor = "#181a1b";
|
||||
@ -323,10 +324,6 @@ export default class Home extends Component {
|
||||
<br />
|
||||
<p>To use a option just add &key=value (eg: &songinfo=true)</p>
|
||||
</div>
|
||||
<div className={'info'}>
|
||||
<p>If you use this overlay and like it, don't forget to star the project :3</p>
|
||||
<p>Github link: <span><a href={GITHUB_URL}>{GITHUB_URL}</a></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div> :
|
||||
<div className={'overlay'}>
|
||||
|
@ -9,7 +9,7 @@
|
||||
* when using OBS it overrides the background color anyway
|
||||
*/
|
||||
body, html {
|
||||
background-color: black;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.loading {
|
||||
@ -37,7 +37,7 @@ body, html {
|
||||
}
|
||||
|
||||
.invalid-player p {
|
||||
font-size: large;
|
||||
font-size: large !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user