From 1029ea5840aa38a7be279945d080a2eb95015ed1 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Fri, 4 May 2018 11:41:20 +0200 Subject: [PATCH] Fix broken notification scrolling in CEF 65 --- Core/Notification/FormNotificationMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Notification/FormNotificationMain.cs b/Core/Notification/FormNotificationMain.cs index 899786ce..709892a7 100644 --- a/Core/Notification/FormNotificationMain.cs +++ b/Core/Notification/FormNotificationMain.cs @@ -136,7 +136,7 @@ private IntPtr MouseHookProc(int nCode, IntPtr wParam, IntPtr lParam){ int eventType = wParam.ToInt32(); if (eventType == NativeMethods.WM_MOUSEWHEEL && IsCursorOverBrowser){ - browser.SendMouseWheelEvent(0, 0, 0, BrowserUtils.Scale(NativeMethods.GetMouseHookData(lParam), Program.UserConfig.NotificationScrollSpeed*0.01), CefEventFlags.None); + browser.SendMouseWheelEvent(1, 1, 0, BrowserUtils.Scale(NativeMethods.GetMouseHookData(lParam), Program.UserConfig.NotificationScrollSpeed*0.01), CefEventFlags.None); return NativeMethods.HOOK_HANDLED; } else if (eventType == NativeMethods.WM_XBUTTONDOWN && DesktopBounds.Contains(Cursor.Position)){