diff --git a/QuickLook.Native.Shell32/Shell32.h b/QuickLook.Native.Shell32/Shell32.h
index 45f4734..8a9d7f0 100644
--- a/QuickLook.Native.Shell32/Shell32.h
+++ b/QuickLook.Native.Shell32/Shell32.h
@@ -11,6 +11,7 @@ public:
DESKTOP = 1,
EXPLORER = 2,
};
+
static FocusedWindowType GetFocusedWindowType();
static void SaveCurrentSelection();
static UINT GetCurrentSelectionCount();
diff --git a/QuickLook.Plugin.PDFViewer/ListBoxItemStyleNoFocusedBorder.xaml b/QuickLook.Plugin.PDFViewer/ListBoxItemStyleNoFocusedBorder.xaml
new file mode 100644
index 0000000..f9b65f3
--- /dev/null
+++ b/QuickLook.Plugin.PDFViewer/ListBoxItemStyleNoFocusedBorder.xaml
@@ -0,0 +1,52 @@
+
+
+
\ No newline at end of file
diff --git a/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml b/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml
index 11e7b4a..29ea080 100644
--- a/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml
+++ b/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml
@@ -12,9 +12,9 @@
-
+
+
+
@@ -44,7 +44,7 @@
-
+
@@ -58,6 +58,13 @@
-->
+
+
+
+
+
diff --git a/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml.cs b/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml.cs
index b9fb3dc..b62b4d6 100644
--- a/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml.cs
+++ b/QuickLook.Plugin.PDFViewer/PdfViewerControl.xaml.cs
@@ -281,6 +281,7 @@ namespace QuickLook.Plugin.PDFViewer
ZoomFactor = newZoom;
ReRenderCurrentPage();
+ scrolling = false;
};
}
diff --git a/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PDFViewer.csproj b/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PDFViewer.csproj
index 01bbf3f..30b68f5 100644
--- a/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PDFViewer.csproj
+++ b/QuickLook.Plugin.PDFViewer/QuickLook.Plugin.PDFViewer.csproj
@@ -74,6 +74,10 @@
+
+ Designer
+ MSBuild:Compile
+
MSBuild:Compile
Designer
diff --git a/QuickLook/MainWindow.xaml b/QuickLook/MainWindow.xaml
index e123636..df61026 100644
--- a/QuickLook/MainWindow.xaml
+++ b/QuickLook/MainWindow.xaml
@@ -7,15 +7,16 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:plugin="clr-namespace:QuickLook.Plugin"
- mc:Ignorable="d" x:Class="QuickLook.MainWindow" x:Name="mainWindow" AllowsTransparency="True" WindowStyle="None"
+ mc:Ignorable="d" x:Class="QuickLook.MainWindow" x:Name="mainWindow"
UseLayoutRounding="True"
Topmost="True" d:DesignWidth="624" d:DesignHeight="700"
MinWidth="275" MinHeight="150"
WindowStartupLocation="CenterScreen"
- ResizeMode="CanResizeWithGrip"
- x:ClassModifier="internal" Focusable="False" ShowActivated="False" ShowInTaskbar="False">
+ x:ClassModifier="internal" Focusable="False"
+ ShowActivated="False" ShowInTaskbar="False" WindowStyle="None"
+ ResizeMode="CanResizeWithGrip" AllowsTransparency="True">
-
+