mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-03 16:12:50 +03:00
Update hostApp.service.ts
This commit is contained in:
parent
03e654b5a0
commit
4d237baf33
@ -235,7 +235,7 @@ export class HostAppService {
|
||||
* @param type `null`, or `fluent` when supported (Windowd only)
|
||||
*/
|
||||
setVibrancy (enable: boolean, type: string|null): void {
|
||||
if (!isWindowsBuild(WIN_BUILD_FLUENT_BG_SUPPORTED)) {
|
||||
if (this.platform === Platform.Windows && !isWindowsBuild(WIN_BUILD_FLUENT_BG_SUPPORTED)) {
|
||||
type = null
|
||||
}
|
||||
document.body.classList.toggle('vibrant', enable)
|
||||
|
Loading…
Reference in New Issue
Block a user