Browse Source

[ts][player] Fixed canvas style to use display: block, because CSS was made by sadists.

badlogic 6 years ago
parent
commit
30bd8ac751
2 changed files with 1 additions and 1 deletions
  1. 1 0
      spine-ts/widget/css/spine-player.css
  2. 0 1
      spine-ts/widget/example/player-test.html

+ 1 - 0
spine-ts/widget/css/spine-player.css

@@ -190,6 +190,7 @@
 	width: 100%;
 	height: 100%;
 	border-radius: 4px;
+	display: block;
 }
 
 /** Player controls **/

+ 0 - 1
spine-ts/widget/example/player-test.html

@@ -26,7 +26,6 @@ body {
 		controlBones: ["root"],
 		backgroundColor: "#cccccc",
 		fullScreenBackgroundColor: "#cc0000",
-		showControls: false,
 	});
 </script>
 </body>