diff --git a/README.md b/README.md index 3a3a7fb..e321fc6 100644 --- a/README.md +++ b/README.md @@ -126,18 +126,12 @@ Scripting is supported via Python, C#, Lua, JavaScript and PowerShell ### Add-ons -Add-ons have to be located at: +Add-ons are located in the config directory: ```Text C:\Users\%username%\AppData\Roaming\mpv\Addons\ExampleAddon\ExampleAddon.dll ``` -or in a portable setup at: - -```Text -\portable_config\Addons\ExampleAddon\ExampleAddon.dll -``` - The add-on filename must end with 'Addon.dll'. Examples: diff --git a/mpv.net/Windows/InputWindow.xaml.cs b/mpv.net/Windows/InputWindow.xaml.cs index 975a0e9..344ce32 100644 --- a/mpv.net/Windows/InputWindow.xaml.cs +++ b/mpv.net/Windows/InputWindow.xaml.cs @@ -6,7 +6,7 @@ using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Input; - +using System.Windows.Media; using Sys; namespace mpvnet @@ -27,6 +27,12 @@ namespace mpvnet var yourCostumFilter = new Predicate(item => Filter((CommandItem)item)); CollectionView.Filter = yourCostumFilter; DataGrid.ItemsSource = CollectionView; + + if (App.IsDarkMode) + { + Foreground = Brushes.White; + Background = Brushes.Black; + } } private void SearchTextBox_TextChanged(object sender, TextChangedEventArgs e)