This commit is contained in:
child_duckling 2022-01-17 19:07:27 -08:00
parent f2cc5bf892
commit e31fd261b3
3 changed files with 84 additions and 40 deletions

View file

@ -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
* **********************************************************************************************/