diff --git a/DamageMeter.UI/App.xaml.cs b/DamageMeter.UI/App.xaml.cs index 8ffecf49..883063f7 100644 --- a/DamageMeter.UI/App.xaml.cs +++ b/DamageMeter.UI/App.xaml.cs @@ -8,6 +8,8 @@ using System.Threading; using System.Threading.Tasks; using System.Windows; +using System.Windows.Interop; +using System.Windows.Media; using DamageMeter.AutoUpdate; using Data; using log4net; @@ -55,6 +57,7 @@ private async void App_OnStartup(object sender, StartupEventArgs e) LP.Culture = CultureInfo.GetCultureInfo(BasicTeraData.Instance.WindowData.UILanguage); FormatHelpers.Instance.CultureInfo = LP.Culture; } + if (!BasicTeraData.Instance.WindowData.AllowTransparency) RenderOptions.ProcessRenderMode = RenderMode.SoftwareOnly; if (!BasicTeraData.Instance.WindowData.AutoUpdate) { return;