mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-23 11:53:02 +00:00
fixes click registrationfor items in brackets (#216)
This commit is contained in:
parent
9218890342
commit
9fa8d2e8ea
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ EVENT_CALLBACK(EVENT_HANDLER_MOUSE_UP) {
|
|||
struct bar_item* bar_item = bar_manager_get_item_by_wid(&g_bar_manager,
|
||||
wid,
|
||||
adid );
|
||||
if (!bar_item) {
|
||||
|
||||
if (!bar_item || bar_item->type == BAR_COMPONENT_GROUP) {
|
||||
CGPoint point = CGEventGetLocation(context);
|
||||
bar_item = bar_manager_get_item_by_point(&g_bar_manager, point, adid);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue