Selaa lähdekoodia

Editor: More menubar clean up.

Mr.doob 12 vuotta sitten
vanhempi
commit
727421e0de

+ 2 - 1
editor/index.html

@@ -28,8 +28,9 @@
 				}
 				}
 
 
 					.menubar .menu .options {
 					.menubar .menu .options {
-						background-color: #fff;
 						display: none;
 						display: none;
+						background-color: #fff;
+						width: 140px;
 					}
 					}
 
 
 					.menubar .menu:hover .options {
 					.menubar .menu:hover .options {

+ 0 - 1
editor/js/ui/Menubar.Add.js

@@ -13,7 +13,6 @@ Menubar.Add = function ( signals ) {
 
 
 	var options = new UI.Panel();
 	var options = new UI.Panel();
 	options.setClass( 'options' );
 	options.setClass( 'options' );
-	options.setWidth( '140px' );
 	container.add( options );
 	container.add( options );
 
 
 	// add sphere
 	// add sphere

+ 0 - 1
editor/js/ui/Menubar.Edit.js

@@ -13,7 +13,6 @@ Menubar.Edit = function ( signals ) {
 
 
 	var options = new UI.Panel();
 	var options = new UI.Panel();
 	options.setClass( 'options' );
 	options.setClass( 'options' );
-	options.setWidth( '140px' );
 	container.add( options );
 	container.add( options );
 
 
 	// delete
 	// delete

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

@@ -13,7 +13,6 @@ Menubar.File = function ( signals ) {
 
 
 	var options = new UI.Panel();
 	var options = new UI.Panel();
 	options.setClass( 'options' );
 	options.setClass( 'options' );
-	options.setWidth( '140px' );
 	container.add( options );
 	container.add( options );
 
 
 	// open
 	// open

+ 0 - 1
editor/js/ui/Menubar.Help.js

@@ -13,7 +13,6 @@ Menubar.Help = function ( signals ) {
 
 
 	var options = new UI.Panel();
 	var options = new UI.Panel();
 	options.setClass( 'options' );
 	options.setClass( 'options' );
-	options.setWidth( '140px' );
 	container.add( options );
 	container.add( options );
 
 
 	// about
 	// about