diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs
index 1473fce..45cdec2 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs
+++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/Plugin.cs
@@ -80,7 +80,6 @@ namespace QuickLook.Plugin.VideoViewer
else
{
context.TitlebarAutoHide = true;
- context.Theme = Themes.Dark;
context.TitlebarBlurVisibility = true;
}
}
diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml
index f091cfd..69f557a 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml
+++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml
@@ -42,10 +42,10 @@
-
+
+
diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs
index ff818ee..36e41ee 100644
--- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs
+++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs
@@ -237,7 +237,6 @@ namespace QuickLook.Plugin.VideoViewer
break;
case MediaState.Playing:
UpdateMeta();
- DetermineTheme();
HasVideo = mediaElement.VlcMediaPlayer.VideoTrackCount > 0;
HasAudio = mediaElement.VlcMediaPlayer.AudioTrackCount > 0;
IsPlaying = true;
@@ -277,20 +276,6 @@ namespace QuickLook.Plugin.VideoViewer
: Visibility.Visible;
}
- private void DetermineTheme()
- {
- if (HasVideo)
- return;
-
- if (CoverArt == null)
- return;
-
- using (var bitmap = new Bitmap(CoverArt.ToBitmap()))
- {
- _context.Theme = bitmap.IsDarkImage() ? Themes.Dark : Themes.Light;
- }
- }
-
private void ChangeVolume(double delta)
{
IsMuted = false;