瀏覽代碼

Merge pull request #19530 from marcofugaro/css-fix

Fix css of startButton for device orientation examples
Mr.doob 5 年之前
父節點
當前提交
33fcb4b0ec
共有 2 個文件被更改,包括 2 次插入8 次删除
  1. 1 4
      examples/css3d_panorama_deviceorientation.html
  2. 1 4
      examples/misc_controls_deviceorientation.html

+ 1 - 4
examples/css3d_panorama_deviceorientation.html

@@ -8,10 +8,7 @@
 	</head>
 	<body>
 		<div id="overlay">
-			<div>
-				<button id="startButton">Start Demo</button>
-				<p>Using device orientation might require a user interaction.</p>
-			</div>
+			<button id="startButton">Start Demo</button>
 		</div>
 		<div id="info"><a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - panorama - device orientation.<br/>cubemap by <a href="http://www.humus.name/index.php?page=Textures" target="_blank" rel="noopener">Humus</a>.</div>
 

+ 1 - 4
examples/misc_controls_deviceorientation.html

@@ -8,10 +8,7 @@
 	</head>
 	<body>
 		<div id="overlay">
-			<div>
-				<button id="startButton">Start Demo</button>
-				<p>Using device orientation might require a user interaction.</p>
-			</div>
+			<button id="startButton">Start Demo</button>
 		</div>
 		<div id="info">
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - equirectangular panorama demo with DeviceOrientation controls.<br/>