Explorar o código

compdfkit(win) - fix 显示设置

liuaoran hai 1 ano
pai
achega
946b97b03b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Demo/Examples/PDFViewer/MainPage.xaml.cs

+ 1 - 0
Demo/Examples/PDFViewer/MainPage.xaml.cs

@@ -1136,6 +1136,7 @@ namespace PDFViewer
             {
                 if (ViewSettingBtn.IsChecked == true)
                 {
+                    displayPanel = new CPDFDisplaySettingsControl();
                     displayPanel.InitWithPDFViewer(pdfViewControl.PDFView);
                     PropertyContainer.Child = displayPanel;
                     PropertyContainer.Visibility = Visibility.Visible;