Skip to content

Commit

Permalink
Build plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp authored and github-actions[bot] committed Nov 15, 2024
1 parent 860eddf commit 1b56529
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions resources/js/electron-plugin/dist/server/api/menuBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ router.post("/create", (req, res) => {
const tray = new Tray(icon || state.icon.replace("icon.png", "IconTemplate.png"));
tray.setContextMenu(buildMenu(contextMenu));
if (event) {
tray.on('click', (e) => {
tray.on('click', (combo, bounds, position) => {
notifyLaravel('events', {
event,
payload: e,
payload: {
combo,
bounds,
position,
},
});
});
}
Expand Down

0 comments on commit 1b56529

Please sign in to comment.