toggle centered content to false

This commit is contained in:
SrGooglo 2023-07-17 16:48:13 +00:00
parent f324123f9a
commit 9dc16e86b0
2 changed files with 4 additions and 0 deletions

View File

@ -252,6 +252,8 @@ export default class StreamViewer extends React.Component {
}
enterPlayerAnimation = () => {
app.layout.toggleCenteredContent(false)
// make the interface a bit confortable for a video player
app.cores.style.applyVariant("dark")

View File

@ -605,6 +605,8 @@ export default class SyncLyrics extends React.Component {
app.controls.toggleUIVisibility(false)
}
app.layout.toggleCenteredContent(false)
app.cores.style.compactMode(true)
app.cores.style.applyVariant("dark")