mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-27 13:50:33 +00:00
fix right bracket offset
This commit is contained in:
parent
f7bf1aefcb
commit
786f19ed10
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ void bar_redraw(struct bar* bar) {
|
|||
}
|
||||
|
||||
if (bar_item->group && group_is_first_member(bar_item->group, bar_item))
|
||||
group_calculate_bounds(bar_item->group, bar_item->position == POSITION_RIGHT ? (icon_position - group_get_length(bar_item->group) + bar_item_get_length(bar_item)) : icon_position, y);
|
||||
group_calculate_bounds(bar_item->group, bar_item->position == POSITION_RIGHT ? (icon_position - group_get_length(bar_item->group) + bar_item_get_length(bar_item) + bar_item->icon.padding_left) : icon_position, y);
|
||||
|
||||
text_calculate_bounds(&bar_item->icon, icon_position, y + bar_item->y_offset);
|
||||
text_calculate_bounds(&bar_item->label, label_position, y + bar_item->y_offset);
|
||||
|
|
Loading…
Reference in a new issue