Explicitly enable smooth scrolling is setting is disabled

This commit is contained in:
Preston 2020-10-09 09:35:04 -04:00
parent 4240bf9e35
commit 66e96adacf
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,8 @@ if (!isDev) {
if (doc !== null && doc.value) { if (doc !== null && doc.value) {
app.commandLine.appendSwitch('disable-smooth-scrolling') app.commandLine.appendSwitch('disable-smooth-scrolling')
} else {
app.commandLine.appendSwitch('enable-smooth-scrolling')
} }
createWindow() createWindow()
@ -92,6 +94,8 @@ if (!isDev) {
if (doc !== null && doc.value) { if (doc !== null && doc.value) {
app.commandLine.appendSwitch('disable-smooth-scrolling') app.commandLine.appendSwitch('disable-smooth-scrolling')
} else {
app.commandLine.appendSwitch('enable-smooth-scrolling')
} }
createWindow() createWindow()