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()