diff options
author | Aurélien COUDERC <zecoucou@free.fr> | 2017-01-03 20:43:38 +0000 |
---|---|---|
committer | Aurélien COUDERC <zecoucou@free.fr> | 2017-01-03 20:43:38 +0000 |
commit | b37455780242f5a9f2705b98293dccbffa89bfc7 (patch) | |
tree | 35c4a9f83d3f5679d43e50d5ff0443b43dc76a0a /lines-theme | |
parent | a5c495cc97d3d95c199369d0c0d0f004d42a7e17 (diff) |
For Lines Plymouth splash, avoid showing unwanted white dot in top left corner at the beginning of the animation
Diffstat (limited to 'lines-theme')
-rw-r--r-- | lines-theme/plymouth/lines.script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lines-theme/plymouth/lines.script b/lines-theme/plymouth/lines.script index dc2ff23..7366516 100644 --- a/lines-theme/plymouth/lines.script +++ b/lines-theme/plymouth/lines.script @@ -133,6 +133,7 @@ for (i = 0; i < ELECTRONS_DISPLAYED; i++) { anim.angle_incr = anim.arc / (anim.stop_iter - anim.start_iter) * anim.rotat_dir; for (j = 0; j < 5; j++) { electron_sprite[i][j] = Sprite(electron_image); + electron_sprite[i][j].SetOpacity(0); electron_sprite[i][j].base_opacity = 1-(0.2*j); electron_sprite[i][j].angle_diff = -(anim.rotat_dir*j*0.01); } |