Skip to content

Commit 1b56529

Browse files
simonhampgithub-actions[bot]
authored andcommitted
Build plugin
1 parent 860eddf commit 1b56529

File tree

1 file changed

+6
-2
lines changed
  • resources/js/electron-plugin/dist/server/api

1 file changed

+6
-2
lines changed

resources/js/electron-plugin/dist/server/api/menuBar.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ router.post("/create", (req, res) => {
4444
const tray = new Tray(icon || state.icon.replace("icon.png", "IconTemplate.png"));
4545
tray.setContextMenu(buildMenu(contextMenu));
4646
if (event) {
47-
tray.on('click', (e) => {
47+
tray.on('click', (combo, bounds, position) => {
4848
notifyLaravel('events', {
4949
event,
50-
payload: e,
50+
payload: {
51+
combo,
52+
bounds,
53+
position,
54+
},
5155
});
5256
});
5357
}

0 commit comments

Comments
 (0)