Add back transparency option

This commit is contained in:
Vendicated 2024-01-19 01:08:25 +01:00
parent 74300e0a69
commit 988435714e
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 4 additions and 5 deletions

View file

@ -79,8 +79,7 @@ if (!IS_VANILLA) {
delete options.frame;
}
// This causes electron to freeze / white screen for some people
if ((settings as any).transparentUNSAFE_USE_AT_OWN_RISK) {
if (settings.transparent) {
options.transparent = true;
options.backgroundColor = "#00000000";
}