Fix for Dark Theme

This commit is contained in:
niksedk 2023-07-16 17:14:02 +02:00
parent c0c031c5d5
commit 310178b86f

View File

@ -11,8 +11,8 @@ namespace Nikse.SubtitleEdit.Logic
{
public static class DarkTheme
{
internal static readonly Color BackColor = Configuration.Settings.General.DarkThemeBackColor;
internal static readonly Color ForeColor = Configuration.Settings.General.DarkThemeForeColor;
public static Color BackColor => Configuration.Settings.General.DarkThemeBackColor;
public static Color ForeColor => Configuration.Settings.General.DarkThemeForeColor;
private const int DWMWA_USE_IMMERSIVE_DARK_MODE_BEFORE_20H1 = 19;
private const int DWMWA_USE_IMMERSIVE_DARK_MODE = 20;