diff options
author | Aurélien COUDERC <zecoucou@free.fr> | 2019-03-27 18:58:54 +0100 |
---|---|---|
committer | Aurélien COUDERC <zecoucou@free.fr> | 2019-03-27 18:58:54 +0100 |
commit | 07067652e6b9883b06227e469906cc245db5a3d8 (patch) | |
tree | 60354926919342bc3706d3dea607eef4f54e1bb9 /moonlight-theme | |
parent | 981447ad86519ec7daf6b1bd2cf355cf5a907c9e (diff) |
Keep Moonlight/plymouth animation running so it doesn’t stop halfway when waiting for passphrase
Diffstat (limited to 'moonlight-theme')
-rw-r--r-- | moonlight-theme/plymouth/moonlight.script | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/moonlight-theme/plymouth/moonlight.script b/moonlight-theme/plymouth/moonlight.script index 99efcf6..e534b9b 100644 --- a/moonlight-theme/plymouth/moonlight.script +++ b/moonlight-theme/plymouth/moonlight.script @@ -52,8 +52,8 @@ progress_time = 0; progress_pct = 0; # Variables for glow rotation animation -anim_start_time = NULL; -anim_status = "stopped"; +#anim_start_time = NULL; +#anim_status = "stopped"; refresh_iter = 0; anim_iter = 0; @@ -1042,13 +1042,13 @@ fun scale_glow_img(source_img, current_step, nb_steps) { } fun update_glow_anim () { - if (global.anim_start_time != global.progress_time && global.anim_status != "running") { - global.anim_start_time = global.progress_time; - global.anim_iter = 0; - global.anim_status = "running"; - } - - if (global.anim_status == "running") { +# if (global.anim_start_time != global.progress_time && global.anim_status != "running") { +# global.anim_start_time = global.progress_time; +# global.anim_iter = 0; +# global.anim_status = "running"; +# } +# +# if (global.anim_status == "running") { # iter_img = global.logo_glow[global.anim_iter]; # if (iter_img == NULL) { # # Generate scaled image for the glow behind the logo on demand. @@ -1076,13 +1076,13 @@ fun update_glow_anim () { global.anim_iter++; if (global.anim_iter >= NB_SCALE_STEPS) { - global.anim_status = "stopped"; + global.anim_iter = 0; } - } +# } } fun update_star_anim (star_sprite, speed) { - if (global.anim_status == "running") { +# if (global.anim_status == "running") { x = star_sprite.GetX(); newX = x - 30 * speed; @@ -1108,7 +1108,7 @@ fun update_star_anim (star_sprite, speed) { star_sprite.SetOpacity(newOp); - } +# } } #-----------------------------------------Refresh stuff -------------------------------- |