diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 5a07598..ccbdb4c 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -150,6 +150,12 @@ export class AppComponent implements OnInit{ this.electronService.ipcRenderer.on('open-project', (event: any, loadedProject: StoredGameModel) => { this.onLoadProject(loadedProject); }) + + this.electronService.ipcRenderer.on('context-menu', (event: any, message: string) => { + console.log("Context Menu triggered") + this.onContextMenuMessageRecieved(message); + }) + } }