close #147
This commit is contained in:
parent
f2cc5bf892
commit
e31fd261b3
3 changed files with 84 additions and 40 deletions
|
@ -389,6 +389,15 @@ export class Win {
|
|||
this.win.webContents.setZoomFactor(parseFloat(scale));
|
||||
});
|
||||
|
||||
|
||||
// Titlebar #147 - Implemented as plugin
|
||||
electron.ipcMain.on('set-titlebar', (e, titlebar) => {
|
||||
this.win.title = `${titlebar} - Cider`
|
||||
})
|
||||
electron.ipcMain.on('reset-titlebar', () => {
|
||||
this.win.title = `Cider`
|
||||
})
|
||||
|
||||
/* *********************************************************************************************
|
||||
* Window Events
|
||||
* **********************************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue