QuickCSS: prevent white background flash when loading (#2878)

This commit is contained in:
Nick Oates 2026-05-04 03:52:11 -07:00 • committed by GitHub
parent 1936e998f7
commit edd9e3be4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,6 +155,7 @@ ipcMain.handle(IpcEvents.OPEN_MONACO_EDITOR, async () => {
title,
autoHideMenuBar: true,
darkTheme: true,
backgroundColor: nativeTheme.shouldUseDarkColors ? "#1e1e1e" : "white",
webPreferences: {
preload: join(__dirname, IS_DISCORD_DESKTOP ? "preload.js" : "vencordDesktopPreload.js"),
contextIsolation: true,