File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ class MenuBar
30
30
31
31
protected bool $ alwaysOnTop = false ;
32
32
33
- protected ?string $ event = null ;
34
-
35
33
protected bool $ showDockIcon = false ;
36
34
37
35
protected Client $ client ;
@@ -97,13 +95,6 @@ public function alwaysOnTop($alwaysOnTop = true): self
97
95
return $ this ;
98
96
}
99
97
100
- public function event (string $ event ): self
101
- {
102
- $ this ->event = $ event ;
103
-
104
- return $ this ;
105
- }
106
-
107
98
public function withContextMenu (Menu $ menu ): self
108
99
{
109
100
$ this ->contextMenu = $ menu ;
@@ -131,7 +122,6 @@ public function toArray(): array
131
122
'onlyShowContextMenu ' => $ this ->onlyShowContextMenu ,
132
123
'contextMenu ' => ! is_null ($ this ->contextMenu ) ? $ this ->contextMenu ->toArray ()['submenu ' ] : null ,
133
124
'alwaysOnTop ' => $ this ->alwaysOnTop ,
134
- 'event ' => $ this ->event ,
135
125
];
136
126
}
137
127
}
You can’t perform that action at this time.
0 commit comments