From 2a02ec9338c23634ddd41c7eb8f6b725cda9bedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6ckelmann?= Date: Wed, 20 Mar 2024 16:31:17 +0100 Subject: [PATCH] (Re)Enable context menu interactions --- src/app/app.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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); + }) + } }