This commit is contained in:
Vendicated 2023-04-10 19:14:26 +02:00
parent d823970f60
commit 144ba73068
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

View file

@ -230,13 +230,13 @@ function initSettingsListeners(win: BrowserWindow) {
VencordSettings.addChangeListener("macosTranslucency", enabled => {
if (enabled) {
win.setVibrancy('sidebar')
win.setBackgroundColor('#ffffff00');
win.setVibrancy("sidebar");
win.setBackgroundColor("#ffffff00");
} else {
win.setVibrancy(null);
win.setBackgroundColor('#ffffff');
win.setBackgroundColor("#ffffff");
}
})
});
}
export function createMainWindow() {