mirror of
https://ark.sudovanilla.org/Korbs/Penpot-Desktop.git
synced 2025-01-08 05:23:54 +00:00
Update src/process/platform.js
This commit is contained in:
parent
90a9f1d1ec
commit
767232979f
|
@ -10,8 +10,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
if (process.platform === 'linux') {
|
if (process.platform === 'linux') {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// When did Electron add their own buttons? Interesting, but I like it.
|
|
||||||
// mainWindow.webContents.executeJavaScript(`document.querySelector(".linux-titlebar").style.display = 'block'`)
|
|
||||||
mainWindow.webContents.executeJavaScript(`document.querySelector(".titlebar").style.margin = '4px 104px 0px 0px'`)
|
mainWindow.webContents.executeJavaScript(`document.querySelector(".titlebar").style.margin = '4px 104px 0px 0px'`)
|
||||||
}, 1500);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue