mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-22 09:34:51 +00:00
Update PackageReferences
This commit is contained in:
@@ -27,7 +27,7 @@ namespace QuickLook.Plugin.PDFViewer;
|
||||
internal static class PdfPageExtension
|
||||
{
|
||||
private static int _renderCount;
|
||||
private static readonly object LockObj = new object();
|
||||
private static readonly object LockObj = new();
|
||||
|
||||
public static BitmapSource RenderThumbnail(this PdfDocumentWrapper doc, int page)
|
||||
{
|
||||
|
@@ -55,7 +55,7 @@ public partial class PdfViewerControl : UserControl, INotifyPropertyChanged, IDi
|
||||
pagePanel.ImageScrolled += NavigatePage;
|
||||
}
|
||||
|
||||
public ObservableCollection<int> PageThumbnails { get; set; } = new ObservableCollection<int>();
|
||||
public ObservableCollection<int> PageThumbnails { get; set; } = [];
|
||||
|
||||
public int TotalPages => PdfDocumentWrapper.PdfDocument.PageCount;
|
||||
|
||||
|
Reference in New Issue
Block a user