fix win context on plugins, change titlebar plugin to use object call instead of ipc
This commit is contained in:
parent
a51dc79a94
commit
eb6d61ea5a
4 changed files with 11 additions and 15 deletions
|
@ -393,15 +393,6 @@ 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