Skip to content

Commit 64e65a8

Browse files
author
Aytackydln
committed
UI: Make window backgrounds black when transparency is disabled
1 parent 93f4ee8 commit 64e65a8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Project-Aurora/Project-Aurora/Utils/TransparencyComponent.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ private void SetTransparencyEffect(int lightThemeEnabled)
129129
}
130130
else
131131
{
132-
_window.TintColor = Color.FromArgb(240, 128, 128, 128);
133-
_window.FallbackColor = Color.FromArgb(64, 0, 0, 0);
132+
_window.TintColor = Color.FromArgb(32, 128, 128, 128);
133+
_window.FallbackColor = Color.FromArgb(255, 0, 0, 0);
134+
_window.Background = Brushes.Black;
134135
}
135136
}
136137

0 commit comments

Comments
 (0)