From 8da5588e2625f96957d5267a94555682594582da Mon Sep 17 00:00:00 2001 From: dbuechel Date: Wed, 8 May 2019 15:36:48 +0200 Subject: [PATCH] SEBWIN-141: Enabled touch events for browser engine. --- SafeExamBrowser.Browser/BrowserApplicationController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SafeExamBrowser.Browser/BrowserApplicationController.cs b/SafeExamBrowser.Browser/BrowserApplicationController.cs index 70b3c2be..a38baadc 100644 --- a/SafeExamBrowser.Browser/BrowserApplicationController.cs +++ b/SafeExamBrowser.Browser/BrowserApplicationController.cs @@ -132,6 +132,8 @@ namespace SafeExamBrowser.Browser UserAgent = settings.UseCustomUserAgent ? settings.CustomUserAgent : string.Empty }; + cefSettings.CefCommandLineArgs.Add("touch-events", "enabled"); + logger.Debug($"Cache path: {cefSettings.CachePath}"); logger.Debug($"Engine version: Chromium {Cef.ChromiumVersion}, CEF {Cef.CefVersion}, CefSharp {Cef.CefSharpVersion}"); logger.Debug($"Log file: {cefSettings.LogFile}");