mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-27 13:50:33 +00:00
freeze during script updates
This commit is contained in:
parent
eebd5ebdd5
commit
428c401c22
1 changed files with 2 additions and 0 deletions
|
@ -135,9 +135,11 @@ void bar_manager_update_components(struct bar_manager* bar_manager) {
|
|||
}
|
||||
|
||||
void bar_manager_script_update(struct bar_manager* bar_manager, bool forced) {
|
||||
bar_manager->frozen = true;
|
||||
for (int i = 0; i < bar_manager->bar_item_count; i++) {
|
||||
bar_item_script_update(bar_manager->bar_items[i], forced);
|
||||
}
|
||||
bar_manager->frozen = false;
|
||||
}
|
||||
|
||||
void bar_manager_begin(struct bar_manager *bar_manager) {
|
||||
|
|
Loading…
Reference in a new issue