summaryrefslogtreecommitdiff
path: root/softwaves-theme
diff options
context:
space:
mode:
authorAurélien COUDERC <zecoucou@free.fr>2017-01-03 21:28:39 +0000
committerAurélien COUDERC <zecoucou@free.fr>2017-01-03 21:28:39 +0000
commit59abb3cf4057bdda527c9c91e26b32bb2788f060 (patch)
tree2bc0a7a265e21954723446f2fd29cce6b498f087 /softwaves-theme
parent3b44dacc32ed1fda197111efe63bd9679759e771 (diff)
Smaller cleanup in soft Waves Plymouth splash script
Diffstat (limited to 'softwaves-theme')
-rw-r--r--softwaves-theme/plymouth/softwaves.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/softwaves-theme/plymouth/softwaves.script b/softwaves-theme/plymouth/softwaves.script
index c529d57..9e497b4 100644
--- a/softwaves-theme/plymouth/softwaves.script
+++ b/softwaves-theme/plymouth/softwaves.script
@@ -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");