mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-29 21:54:37 +00:00
Fix issue with setTitleBarOverlay method on non-win32 platforms.
This commit is contained in:
@@ -392,14 +392,15 @@ export class Window {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (process.platform === 'win32') {
|
||||||
const symbolColor: string = theme.foreground
|
const symbolColor: string = theme.foreground
|
||||||
|
|
||||||
this.window.setTitleBarOverlay(
|
this.window.setTitleBarOverlay(
|
||||||
{
|
{
|
||||||
symbolColor: symbolColor,
|
symbolColor: symbolColor,
|
||||||
height: 32,
|
height: 32,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
ipcMain.on('window-set-title', (event, title) => {
|
ipcMain.on('window-set-title', (event, title) => {
|
||||||
|
Reference in New Issue
Block a user