mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-19 07:54:59 +01:00
Merge pull request #28 from vector-im/dbkr/maybe_enable_subpixel_rendering
Hopefully enable subpixel font rendering
This commit is contained in:
commit
5e6f3b4f55
@ -592,6 +592,9 @@ app.on('ready', async () => {
|
|||||||
|
|
||||||
const preloadScript = path.normalize(`${__dirname}/preload.js`);
|
const preloadScript = path.normalize(`${__dirname}/preload.js`);
|
||||||
mainWindow = global.mainWindow = new BrowserWindow({
|
mainWindow = global.mainWindow = new BrowserWindow({
|
||||||
|
// https://www.electronjs.org/docs/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do
|
||||||
|
backgroundColor: '#fff',
|
||||||
|
|
||||||
icon: iconPath,
|
icon: iconPath,
|
||||||
show: false,
|
show: false,
|
||||||
autoHideMenuBar: store.get('autoHideMenuBar', true),
|
autoHideMenuBar: store.get('autoHideMenuBar', true),
|
||||||
|
Loading…
Reference in New Issue
Block a user