Add back transparency as a settings option
This commit is contained in:
parent
bddfa60f19
commit
b1d65ee285
2 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,7 @@ export function createMainWindow() {
|
||||||
},
|
},
|
||||||
icon: ICON_PATH,
|
icon: ICON_PATH,
|
||||||
frame: VencordSettings.store.frameless !== true,
|
frame: VencordSettings.store.frameless !== true,
|
||||||
|
transparent: Settings.store.transparent,
|
||||||
...(Settings.store.staticTitle ? { title: "Vencord" } : {}),
|
...(Settings.store.staticTitle ? { title: "Vencord" } : {}),
|
||||||
...(VencordSettings.store.macosTranslucency
|
...(VencordSettings.store.macosTranslucency
|
||||||
? {
|
? {
|
||||||
|
|
1
src/shared/settings.d.ts
vendored
1
src/shared/settings.d.ts
vendored
|
@ -18,4 +18,5 @@ export interface Settings {
|
||||||
minimizeToTray?: boolean;
|
minimizeToTray?: boolean;
|
||||||
skippedUpdate?: string;
|
skippedUpdate?: string;
|
||||||
staticTitle?: boolean;
|
staticTitle?: boolean;
|
||||||
|
transparent?: boolean;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue