mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 11:19:17 +02:00
[fade-throbber] Initialise views before animating
Only run the call to animation after all views are initialised. No visible changes but this is more correct.
This commit is contained in:
parent
74ac719031
commit
481b39155d
1 changed files with 3 additions and 3 deletions
|
|
@ -567,9 +567,6 @@ start_animation (ply_boot_splash_plugin_t *plugin)
|
|||
if (plugin->is_animating)
|
||||
return;
|
||||
|
||||
plugin->start_time = ply_get_timestamp ();
|
||||
animate_at_time (plugin, plugin->start_time);
|
||||
|
||||
node = ply_list_get_first_node (plugin->views);
|
||||
while (node != NULL)
|
||||
{
|
||||
|
|
@ -586,6 +583,9 @@ start_animation (ply_boot_splash_plugin_t *plugin)
|
|||
|
||||
plugin->is_animating = true;
|
||||
|
||||
plugin->start_time = ply_get_timestamp ();
|
||||
animate_at_time (plugin, plugin->start_time);
|
||||
|
||||
if (plugin->mode == PLY_BOOT_SPLASH_MODE_SHUTDOWN)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue