diff --git a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs index 11138b0..c998681 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs +++ b/QuickLook.Plugin/QuickLook.Plugin.VideoViewer/ViewerPanel.xaml.cs @@ -130,7 +130,7 @@ namespace QuickLook.Plugin.VideoViewer private void AutoHideViedoControlContainer(object sender, EventArgs e) { - if (ShowVideo) + if (!ShowVideo) return; if (videoControlContainer.IsMouseOver) diff --git a/QuickLook/Helpers/WindowHelper.cs b/QuickLook/Helpers/WindowHelper.cs index cbe342c..e6e646b 100644 --- a/QuickLook/Helpers/WindowHelper.cs +++ b/QuickLook/Helpers/WindowHelper.cs @@ -105,7 +105,7 @@ namespace QuickLook.Helpers { var mmi = (MinMaxInfo) Marshal.PtrToStructure(lParam, typeof(MinMaxInfo)); - // Adjust the maximized size and position to fit the work area of the correct monitor + // Adjust the maximized size and position to fit the work area of the current monitor var currentScreen = Screen.FromHandle(hwnd); var workArea = currentScreen.WorkingArea; var monitorArea = currentScreen.Bounds; diff --git a/QuickLook/ViewerWindow.xaml b/QuickLook/ViewerWindow.xaml index 61a8181..f1d2db5 100644 --- a/QuickLook/ViewerWindow.xaml +++ b/QuickLook/ViewerWindow.xaml @@ -27,16 +27,14 @@ + + + @@ -68,6 +66,9 @@ GlassVisibility="{Binding ContextObject.TitlebarBlurVisibility, ElementName=mainWindow, Converter={StaticResource BooleanToVisibilityConverter}}" NoiseVisibility="{Binding ContextObject.TitlebarBlurVisibility, ElementName=mainWindow, Converter={StaticResource BooleanToVisibilityConverter}}" /> + + +