From 66e96adacf669e24799928042eb248688f187b82 Mon Sep 17 00:00:00 2001 From: Preston Date: Fri, 9 Oct 2020 09:35:04 -0400 Subject: [PATCH] Explicitly enable smooth scrolling is setting is disabled --- src/main/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/index.js b/src/main/index.js index d1f375b9..e7dc6029 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -60,6 +60,8 @@ if (!isDev) { if (doc !== null && doc.value) { app.commandLine.appendSwitch('disable-smooth-scrolling') + } else { + app.commandLine.appendSwitch('enable-smooth-scrolling') } createWindow() @@ -92,6 +94,8 @@ if (!isDev) { if (doc !== null && doc.value) { app.commandLine.appendSwitch('disable-smooth-scrolling') + } else { + app.commandLine.appendSwitch('enable-smooth-scrolling') } createWindow()