mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-16 01:01:53 +08:00
Fix current page not updating when clicking on thumbnails list
This commit is contained in:
@@ -62,7 +62,7 @@ namespace QuickLook.Plugin.OfficeViewer
|
||||
context.Title = $"{Path.GetFileName(path)} (1 / {_pdfViewer.TotalPages})";
|
||||
};
|
||||
_pdfViewer.CurrentPageChanged += (sender, e) => context.Title =
|
||||
$"{Path.GetFileName(path)} ({_pdfViewer.CurrectPage + 1} / {_pdfViewer.TotalPages})";
|
||||
$"{Path.GetFileName(path)} ({_pdfViewer.CurrentPage + 1} / {_pdfViewer.TotalPages})";
|
||||
|
||||
context.ViewerContent = _pdfViewer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user