mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 12:28:12 +02:00
text: don't draw if not animating
That can cause an unrecoverable crash.
This commit is contained in:
parent
99755d3eac
commit
fd66c69030
1 changed files with 3 additions and 1 deletions
|
|
@ -556,7 +556,9 @@ on_boot_progress (ply_boot_splash_plugin_t *plugin,
|
|||
next_node = ply_list_get_next_node (plugin->views, node);
|
||||
|
||||
ply_text_step_bar_set_percent_done (view->step_bar, percent_done);
|
||||
ply_text_step_bar_draw (view->step_bar);
|
||||
|
||||
if (plugin->is_animating)
|
||||
ply_text_step_bar_draw (view->step_bar);
|
||||
|
||||
node = next_node;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue