Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Fix disableFrameRateLimit default value
Browse files Browse the repository at this point in the history
Make it match with the one in settings.js
  • Loading branch information
Mixaz017 committed Dec 20, 2020
1 parent 2a378db commit a528c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main.js
Expand Up @@ -25,7 +25,7 @@ app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required')
// app.commandLine.appendSwitch('ignore-gpu-blacklist')
// app.commandLine.appendSwitch('enable-zero-copy')
if (!config.get('acceleratedCanvas', true)) { app.commandLine.appendSwitch('disable-accelerated-2d-canvas', 'true') }
if (config.get('disableFrameRateLimit', true)) { app.commandLine.appendSwitch('disable-frame-rate-limit') }
if (config.get('disableFrameRateLimit', false)) { app.commandLine.appendSwitch('disable-frame-rate-limit') }
// if (config.get('enablePointerLockOptions', false)) { app.commandLine.appendSwitch('enable-pointer-lock-options') }
let angleBackend = config.get('angleBackend', 'default'),
colorProfile = config.get('colorProfile', 'default')
Expand Down

0 comments on commit a528c6f

Please sign in to comment.