Antony Male 9 лет назад
Родитель
Сommit
9fe94b88b4
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/SyncTrayzor/Pages/ViewerViewModel.cs

+ 2 - 0
src/SyncTrayzor/Pages/ViewerViewModel.cs

@@ -128,6 +128,8 @@ namespace SyncTrayzor.Pages
         {
             webBrowser.RequestHandler = this;
             webBrowser.LifeSpanHandler = this;
+            // Enable WPF touch scrolling - may cause issues, see https://github.com/cefsharp/CefSharp/pull/1418
+            webBrowser.IsManipulationEnabled = true;
             webBrowser.RegisterJsObject("callbackObject", this.callback);
 
             // So. Fun story. From https://github.com/cefsharp/CefSharp/issues/738#issuecomment-91099199, we need to set the zoom level