瀏覽代碼

Fix to grid theming on server

Kenric Nugteren 1 年之前
父節點
當前提交
ae653650d6
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      prs.server/Forms/Configuration.xaml.cs

+ 4 - 0
prs.server/Forms/Configuration.xaml.cs

@@ -6,6 +6,7 @@ using Comal.Classes;
 using Comal.Stores;
 using InABox.Configuration;
 using InABox.Core;
+using InABox.DynamicGrid;
 using InABox.Logging;
 using InABox.Scripting;
 using InABox.Wpf;
@@ -44,6 +45,9 @@ public partial class Configuration : ThemableWindow
             }
         }
 
+        DynamicGridUtils.SelectionBackground = ThemeManager.SelectionBackgroundBrush;
+        DynamicGridUtils.SelectionForeground = ThemeManager.SelectionForegroundBrush;
+
         Progress.DisplayImage = Properties.Resources.appstore.AsBitmapImage(200, 200);
 
         Progress.ShowModal("Starting...", progress =>