mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-07 05:27:58 +00:00
Test: use new window each time (some people report a slowness... but I can't reproduce)
This commit is contained in:
@@ -26,7 +26,7 @@ namespace QuickLook.Controls
|
||||
{
|
||||
public MainWindowBase()
|
||||
{
|
||||
WindowStyle = WindowStyle.None;
|
||||
//WindowStyle = WindowStyle.None;
|
||||
|
||||
SourceInitialized += SourceInitializedHandler;
|
||||
}
|
||||
|
@@ -267,6 +267,8 @@ namespace QuickLook
|
||||
Hide();
|
||||
//Dispatcher.BeginInvoke(new Action(Hide), DispatcherPriority.ApplicationIdle);
|
||||
|
||||
ViewWindowManager.GetInstance().ForgetCurrentWindow();
|
||||
|
||||
ProcessHelper.PerformAggressiveGC();
|
||||
}
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
d:DesignWidth="624" d:DesignHeight="700"
|
||||
MinWidth="400" MinHeight="200"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
Focusable="False" WindowStyle="None"
|
||||
Focusable="False"
|
||||
Background="{DynamicResource CaptionBackground}"
|
||||
ShowActivated="False" ShowInTaskbar="False">
|
||||
<controls:MainWindowBase.Resources>
|
||||
|
Reference in New Issue
Block a user