Skip to content

Commit fc070a2

Browse files
committed
Remove event prop
1 parent 1df3c34 commit fc070a2

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/MenuBar/MenuBar.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ class MenuBar
3030

3131
protected bool $alwaysOnTop = false;
3232

33-
protected ?string $event = null;
34-
3533
protected bool $showDockIcon = false;
3634

3735
protected Client $client;
@@ -97,13 +95,6 @@ public function alwaysOnTop($alwaysOnTop = true): self
9795
return $this;
9896
}
9997

100-
public function event(string $event): self
101-
{
102-
$this->event = $event;
103-
104-
return $this;
105-
}
106-
10798
public function withContextMenu(Menu $menu): self
10899
{
109100
$this->contextMenu = $menu;
@@ -131,7 +122,6 @@ public function toArray(): array
131122
'onlyShowContextMenu' => $this->onlyShowContextMenu,
132123
'contextMenu' => ! is_null($this->contextMenu) ? $this->contextMenu->toArray()['submenu'] : null,
133124
'alwaysOnTop' => $this->alwaysOnTop,
134-
'event' => $this->event,
135125
];
136126
}
137127
}

0 commit comments

Comments
 (0)