OSDN Git Service

commit to test! test
authorYamaD <yamad.linuxer@gmail.com>
Mon, 29 Apr 2019 01:03:09 +0000 (10:03 +0900)
committerYamaD <yamad.linuxer@gmail.com>
Mon, 29 Apr 2019 01:03:09 +0000 (10:03 +0900)
serenelinux-plymouth/usr/share/plymouth/themes/serene-logo/serene-logo.script

index 61baf7b..a58d469 100644 (file)
@@ -32,7 +32,7 @@ for (i = 1; i <= image_total; i++)
 }
 
 # shutdown
-for (i = 1; i <= image_total; i++) 
+for (i = 361; i <= image_total; i++) 
 {
     shutdown[i].image = Image("shutdown_" + i + ".png");
     shutdown[i].sprite = Sprite(shutdown[i].image);
@@ -76,11 +76,11 @@ fun reboot_callback()
     # 50 frames per second
     label.sprite.SetOpacity(1);
     for(j=1; j<=3; j++){
-        if (reboot_index >= image_total + 1) {
-            shutdown[700].sprite.SetOpacity(1);
+        if (reboot_index >= 360 + 1) {
+            shutdown[360].sprite.SetOpacity(1);
         }
         else {
-            for (i = 1; i <= image_total; i++){
+            for (i = 361; i <= image_total; i++){
                 if (reboot_index != i){
                     shutdown[i].sprite.SetOpacity(0);
                 }