David Catuhe 6 лет назад
Родитель
Сommit
0bda65d468
1 измененных файлов с 4 добавлено и 6 удалено
  1. 4 6
      src/Loading/loadingScreen.ts

+ 4 - 6
src/Loading/loadingScreen.ts

@@ -125,12 +125,10 @@ export class DefaultLoadingScreen implements ILoadingScreen {
         }
         }
 
 
         imgSpinner.style.position = "absolute";
         imgSpinner.style.position = "absolute";
-        imgSpinner.style.left = "50%";
-        imgSpinner.style.top = "50%";
-        imgSpinner.style.width = "18vw";
-        imgSpinner.style.height = "18vw";
-        imgSpinner.style.marginLeft = "-9vw";
-        imgSpinner.style.marginTop = "-9vw";
+        imgSpinner.style.left = "30%";
+        imgSpinner.style.top = "30%";
+        imgSpinner.style.width = "40%";
+        imgSpinner.style.height = "40%";
         imgSpinner.style.animation = "spin1 0.75s infinite linear";
         imgSpinner.style.animation = "spin1 0.75s infinite linear";
         imgSpinner.style.webkitAnimation = "spin1 0.75s infinite linear";
         imgSpinner.style.webkitAnimation = "spin1 0.75s infinite linear";
         imgSpinner.style.transformOrigin = "50% 50%";
         imgSpinner.style.transformOrigin = "50% 50%";