Skip to content

Commit

Permalink
Test upgrading CefSharp, disabling IsManipulationEnabled
Browse files Browse the repository at this point in the history
Fixes #241
  • Loading branch information
canton7 committed Mar 16, 2016
1 parent f2a7360 commit 4725702
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/SyncTrayzor/Pages/ViewerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ private void InitializeBrowser(ChromiumWebBrowser webBrowser)
{
webBrowser.RequestHandler = this;
webBrowser.LifeSpanHandler = this;
// Enable WPF touch scrolling - may cause issues, see https://github.com/cefsharp/CefSharp/pull/1418
webBrowser.IsManipulationEnabled = true;
// Don't enable touch scrolling yet - it's still buggy, and causes tapping on links to fail
//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
Expand Down
12 changes: 6 additions & 6 deletions src/SyncTrayzor/SyncTrayzor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\CefSharp.Wpf.47.0.0\build\CefSharp.Wpf.props" Condition="Exists('..\packages\CefSharp.Wpf.47.0.0\build\CefSharp.Wpf.props')" />
<Import Project="..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.props')" />
<Import Project="..\packages\CefSharp.Wpf.47.0.3\build\CefSharp.Wpf.props" Condition="Exists('..\packages\CefSharp.Wpf.47.0.3\build\CefSharp.Wpf.props')" />
<Import Project="..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.props" Condition="Exists('..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -614,15 +614,15 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\cef.redist.x64.3.2526.1362\build\cef.redist.x64.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cef.redist.x64.3.2526.1362\build\cef.redist.x64.targets'))" />
<Error Condition="!Exists('..\packages\cef.redist.x86.3.2526.1362\build\cef.redist.x86.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\cef.redist.x86.3.2526.1362\build\cef.redist.x86.targets'))" />
<Error Condition="!Exists('..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.props'))" />
<Error Condition="!Exists('..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.targets'))" />
<Error Condition="!Exists('..\packages\CefSharp.Wpf.47.0.0\build\CefSharp.Wpf.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Wpf.47.0.0\build\CefSharp.Wpf.props'))" />
<Error Condition="!Exists('..\packages\Fody.1.29.2\build\dotnet\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.1.29.2\build\dotnet\Fody.targets'))" />
<Error Condition="!Exists('..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets'))" />
<Error Condition="!Exists('..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.props'))" />
<Error Condition="!Exists('..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.targets'))" />
<Error Condition="!Exists('..\packages\CefSharp.Wpf.47.0.3\build\CefSharp.Wpf.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\CefSharp.Wpf.47.0.3\build\CefSharp.Wpf.props'))" />
</Target>
<Import Project="..\packages\cef.redist.x64.3.2526.1362\build\cef.redist.x64.targets" Condition="Exists('..\packages\cef.redist.x64.3.2526.1362\build\cef.redist.x64.targets')" />
<Import Project="..\packages\cef.redist.x86.3.2526.1362\build\cef.redist.x86.targets" Condition="Exists('..\packages\cef.redist.x86.3.2526.1362\build\cef.redist.x86.targets')" />
<Import Project="..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.47.0.0\build\CefSharp.Common.targets')" />
<Import Project="..\packages\Fody.1.29.2\build\dotnet\Fody.targets" Condition="Exists('..\packages\Fody.1.29.2\build\dotnet\Fody.targets')" />
<Import Project="..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets" Condition="Exists('..\packages\PropertyChanged.Fody.1.50.3\build\dotnet\PropertyChanged.Fody.targets')" />
<Import Project="..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.targets" Condition="Exists('..\packages\CefSharp.Common.47.0.3\build\CefSharp.Common.targets')" />
</Project>
4 changes: 2 additions & 2 deletions src/SyncTrayzor/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<package id="BouncyCastle" version="1.7.0" targetFramework="net46" />
<package id="cef.redist.x64" version="3.2526.1362" targetFramework="net451" />
<package id="cef.redist.x86" version="3.2526.1362" targetFramework="net451" />
<package id="CefSharp.Common" version="47.0.0" targetFramework="net451" />
<package id="CefSharp.Wpf" version="47.0.0" targetFramework="net451" />
<package id="CefSharp.Common" version="47.0.3" targetFramework="net451" />
<package id="CefSharp.Wpf" version="47.0.3" targetFramework="net451" />
<package id="FluentValidation" version="6.1.0.0" targetFramework="net451" />
<package id="Fody" version="1.29.2" targetFramework="net451" developmentDependency="true" />
<package id="Hardcodet.NotifyIcon.Wpf" version="1.0.5" targetFramework="net46" />
Expand Down

0 comments on commit 4725702

Please sign in to comment.