Browse Source

Editor: More menubar clean up.

Mr.doob 12 years ago
parent
commit
727421e0de

+ 2 - 1
editor/index.html

@@ -28,8 +28,9 @@
 				}
 
 					.menubar .menu .options {
-						background-color: #fff;
 						display: none;
+						background-color: #fff;
+						width: 140px;
 					}
 
 					.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();
 	options.setClass( 'options' );
-	options.setWidth( '140px' );
 	container.add( options );
 
 	// add sphere

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

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

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

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

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

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