lint
This commit is contained in:
parent
d823970f60
commit
144ba73068
1 changed files with 4 additions and 4 deletions
|
@ -230,13 +230,13 @@ function initSettingsListeners(win: BrowserWindow) {
|
||||||
|
|
||||||
VencordSettings.addChangeListener("macosTranslucency", enabled => {
|
VencordSettings.addChangeListener("macosTranslucency", enabled => {
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
win.setVibrancy('sidebar')
|
win.setVibrancy("sidebar");
|
||||||
win.setBackgroundColor('#ffffff00');
|
win.setBackgroundColor("#ffffff00");
|
||||||
} else {
|
} else {
|
||||||
win.setVibrancy(null);
|
win.setVibrancy(null);
|
||||||
win.setBackgroundColor('#ffffff');
|
win.setBackgroundColor("#ffffff");
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createMainWindow() {
|
export function createMainWindow() {
|
||||||
|
|
Reference in a new issue