Browse Source

Added working animator

Toby Chui 9 months ago
parent
commit
4c0512422a
1 changed files with 7 additions and 2 deletions
  1. 7 2
      sd_card/web/animator.html

+ 7 - 2
sd_card/web/animator.html

@@ -122,7 +122,7 @@
 			width: calc(100% - 1em);
 			height: 100%;
 			padding-left: 0.5em;
-			background-color: rgba(0, 0, 0, 0.8);
+			background-color: #242424;
 			color: white;
 			display: flex;
 			justify-content: center;
@@ -325,7 +325,12 @@
 			}
 		}
 		
-		updateRWD();
+		if (isMobile){
+			updateRWD();
+		}else{
+			$("#requireLandscapeMode").hide();
+		}
+		
 		$(window).on("resize", function(){
 			updateRWD();
 		})