mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-27 13:50:33 +00:00
fix font change not updating label
This commit is contained in:
parent
63b16d5508
commit
4a90d43115
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ void bar_item_set_icon_font(struct bar_item* bar_item, char *font_string) {
|
|||
|
||||
bar_item->icon_font = bar_create_font(font_string);
|
||||
bar_item->icon_font_name = font_string;
|
||||
bar_item_set_icon(bar_item, bar_item->icon);
|
||||
}
|
||||
|
||||
void bar_item_set_label_font(struct bar_item* bar_item, char *font_string) {
|
||||
|
@ -164,6 +165,7 @@ void bar_item_set_label_font(struct bar_item* bar_item, char *font_string) {
|
|||
|
||||
bar_item->label_font = bar_create_font(font_string);
|
||||
bar_item->label_font_name = font_string;
|
||||
bar_item_set_label(bar_item, bar_item->label);
|
||||
}
|
||||
|
||||
void bar_item_on_click(struct bar_item* bar_item) {
|
||||
|
|
Loading…
Reference in a new issue