Smaller cleanup in soft Waves Plymouth splash script

This commit is contained in:
Aurélien COUDERC
2017-01-03 21:28:39 +00:00
parent 3b44dacc32
commit 59abb3cf40
+2 -2
View File
@@ -34,7 +34,7 @@ DEBIAN_POS_PCT.y = 0.7; # Debian image position in % of screen height
DEBIAN_HEIGHT_PCT = 0.07; # Debian image height in % of smallest screen dimension
LOGO_CENTER_PCT.x = 0.5; # Debian swirl image position in % of screen height & width
LOGO_CENTER_PCT.y = 0.442;
logo_size_pct = 0.18; # Debian swirl image size in % of smallest screen dimension
LOGO_SIZE_PCT = 0.18; # Debian swirl image size in % of smallest screen dimension
#------------------------------- Globals -------------------------------------------
# are we currently prompting for a password?
@@ -139,7 +139,7 @@ small_dimension = Math.Min(window_max.width, window_max.height);
debian_height = small_dimension * DEBIAN_HEIGHT_PCT;
debian_pos.y = window_max.height * DEBIAN_POS_PCT.y - debian_height/2;
logo_size = small_dimension * logo_size_pct;
logo_size = small_dimension * LOGO_SIZE_PCT;
logo_center.x = window_max.width * LOGO_CENTER_PCT.x;
logo_center.y = window_max.height * LOGO_CENTER_PCT.y;
#Debug("Logo center at [" + logo_center.x + ";" + logo_center.y + "], size=" + logo_size + "px");