mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-11 17:59:17 +00:00
Code Cleanup
This commit is contained in:
@@ -67,7 +67,7 @@ public partial class PdfViewerControl : UserControl, INotifyPropertyChanged, IDi
|
||||
listThumbnails.SelectedIndex = value;
|
||||
listThumbnails.ScrollIntoView(listThumbnails.SelectedItem);
|
||||
|
||||
CurrentPageChanged?.Invoke(this, new EventArgs());
|
||||
CurrentPageChanged?.Invoke(this, EventArgs.Empty);
|
||||
OnPropertyChanged();
|
||||
}
|
||||
}
|
||||
@@ -202,7 +202,7 @@ public partial class PdfViewerControl : UserControl, INotifyPropertyChanged, IDi
|
||||
if (CurrentPage == -1)
|
||||
return;
|
||||
|
||||
CurrentPageChanged?.Invoke(this, new EventArgs());
|
||||
CurrentPageChanged?.Invoke(this, EventArgs.Empty);
|
||||
|
||||
ReRenderCurrentPage();
|
||||
|
||||
|
Reference in New Issue
Block a user