Kaynağa Gözat

Fix laoding screen issue

David Catuhe 6 yıl önce
ebeveyn
işleme
0bda65d468
1 değiştirilmiş dosya ile 4 ekleme ve 6 silme
  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.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.webkitAnimation = "spin1 0.75s infinite linear";
         imgSpinner.style.transformOrigin = "50% 50%";