Disable 2d canvas acceleration

This commit is contained in:
Fedor Indutny 2022-05-12 12:41:37 -07:00 committed by GitHub
parent f084834d67
commit bdc4f53e91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -551,6 +551,7 @@ async function createWindow() {
spellcheck: await getSpellCheckSetting(),
backgroundThrottling: isThrottlingEnabled,
enablePreferredSizeMode: true,
disableBlinkFeatures: 'Accelerated2dCanvas,AcceleratedSmallCanvases',
},
icon: windowIcon,
...pick(windowConfig, ['autoHideMenuBar', 'width', 'height', 'x', 'y']),