Răsfoiți Sursa

Editor: Nicer edit button.

Mr.doob 5 ani în urmă
părinte
comite
d326c0c8ac
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      editor/js/Menubar.File.js
  2. 1 1
      editor/js/libs/app/index.html

+ 1 - 1
editor/js/Menubar.File.js

@@ -392,7 +392,7 @@ var MenubarFile = function ( editor ) {
 					'',
 					'			var button = document.createElement( \'a\' );',
 					'			button.href = \'https://threejs.org/editor/#file=\' + location.href.split( \'/\' ).slice( 0, - 1 ).join( \'/\' ) + \'/app.json\';',
-					'			button.style.cssText = \'position: absolute; bottom: 20px; right: 20px; padding: 12px 14px; color: #fff; border: 1px solid #fff; border-radius: 4px; text-decoration: none;\';',
+					'			button.style.cssText = \'position: absolute; bottom: 20px; right: 20px; padding: 10px 16px; color: #fff; border: 1px solid #fff; border-radius: 20px; text-decoration: none;\';',
 					'			button.target = \'_blank\';',
 					'			button.textContent = \'EDIT\';',
 					'			document.body.appendChild( button );',

+ 1 - 1
editor/js/libs/app/index.html

@@ -8,7 +8,7 @@
 		<style>
 			body {
 				font-family: sans-serif;
-				font-size: 13px;
+				font-size: 11px;
 				background-color: #000;
 				margin: 0px;
 				overflow: hidden;