diff --git a/CefSharp.Core/CefSettings.h b/CefSharp.Core/CefSettings.h index 7d33aaff1..2526e41c2 100644 --- a/CefSharp.Core/CefSettings.h +++ b/CefSharp.Core/CefSettings.h @@ -431,17 +431,17 @@ namespace CefSharp } } - /// - /// Disable TouchpadAndWheelScrollLatching, Mouse Wheel becomes unreponsive after reload when - /// enabled. This is only required for WPF/OffScreen versions, see issue #2408 - /// This is a short term workaround until the CEF issue is fixed. - /// - void DisableTouchpadAndWheelScrollLatching() - { - if (!_cefCommandLineArgs->ContainsKey("disable-features")) - { - _cefCommandLineArgs->Add("disable-features", "TouchpadAndWheelScrollLatching,AsyncWheelEvents"); - } - } + /// + /// Disable TouchpadAndWheelScrollLatching, Mouse Wheel becomes unreponsive after reload when + /// enabled. This is only required for WPF/OffScreen versions, see issue #2408 + /// This is a short term workaround until the CEF issue is fixed. + /// + void DisableTouchpadAndWheelScrollLatching() + { + if (!_cefCommandLineArgs->ContainsKey("disable-features")) + { + _cefCommandLineArgs->Add("disable-features", "TouchpadAndWheelScrollLatching,AsyncWheelEvents"); + } + } }; }