Remove already enabled blink features

This commit is contained in:
Fedor Indutny
2025-04-24 10:11:19 -07:00
committed by GitHub
parent 9e2727bef6
commit 5901b79e10

View File

@@ -202,11 +202,6 @@ const defaultWebPrefs = {
getEnvironment() !== Environment.PackagedApp ||
!isProduction(app.getVersion()),
spellcheck: false,
// https://chromium.googlesource.com/chromium/src/+/main/third_party/blink/renderer/platform/runtime_enabled_features.json5
enableBlinkFeatures: [
'CSSPseudoDir', // status=experimental, needed for RTL (ex: :dir(rtl))
'CSSLogical', // status=experimental, needed for RTL (ex: margin-inline-start)
].join(','),
enablePreferredSizeMode: true,
};
@@ -728,7 +723,6 @@ async function createWindow() {
),
spellcheck,
backgroundThrottling: true,
disableBlinkFeatures: 'Accelerated2dCanvas,AcceleratedSmallCanvases',
},
icon: windowIcon,
...pick(windowConfig, ['autoHideMenuBar', 'x', 'y']),