Improvements to emerald plymouth theme’s visuals.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -2,6 +2,7 @@ desktop-base (12.0.4) UNRELEASED; urgency=medium
|
||||
|
||||
* Add Debian swirl in circle as default profile icon for new users.
|
||||
* Add more sizes for the Emerald wallpaper. (Closes: #1027841)
|
||||
* Improvements to emerald plymouth theme’s visuals.
|
||||
|
||||
-- Aurélien COUDERC <coucouf@debian.org> Sat, 18 Feb 2023 23:58:45 +0100
|
||||
|
||||
|
||||
@@ -27,14 +27,14 @@
|
||||
|
||||
|
||||
#------------------------------- Constants -----------------------------------------
|
||||
NB_ANIM_STEPS = 70;
|
||||
NB_REFRESHS_BETWEEN_ANIMS = 1;
|
||||
NB_ANIM_STEPS = 60;
|
||||
NB_REFRESHS_BETWEEN_ANIMS = 2;
|
||||
|
||||
# Initial position of the center of the logo in % of background
|
||||
LOGO_CENTER_PCT.x = 0.5; # Debian swirl image position in % of screen height & width
|
||||
LOGO_CENTER_PCT.y = 0.55;
|
||||
LOGO_SIZE_PCT = 0.48; # Debian + emerald image size in % of smallest screen dimension
|
||||
LOGO_GLOW_SIZE_PCT = 0.4; # Debian swirl image size in % of smallest screen dimension
|
||||
LOGO_GLOW_SIZE_PCT = 0.8; # Debian swirl image size in % of smallest screen dimension
|
||||
|
||||
#------------------------------- Globals -------------------------------------------
|
||||
# are we currently prompting for a password?
|
||||
@@ -972,7 +972,7 @@ fun update_glow_anim () {
|
||||
global.anim_iter = 0;
|
||||
}
|
||||
#DebugMedium("iter = " + global.anim_iter);
|
||||
glow_opacity = 0.6 + 0.4 * Math.Cos(global.anim_iter / NB_ANIM_STEPS * 2 * Math.Pi);
|
||||
glow_opacity = 0.7 + 0.3 * Math.Cos(global.anim_iter / NB_ANIM_STEPS * 2 * Math.Pi);
|
||||
#Debug("glow_opacity = " + glow_opacity);
|
||||
if (global.anim_start_time != global.progress_time && global.anim_status != "running") {
|
||||
global.anim_start_time = global.progress_time;
|
||||
|
||||
Reference in New Issue
Block a user