瀏覽代碼

Editor: More menubar clean up.

Mr.doob 12 年之前
父節點
當前提交
727421e0de
共有 5 個文件被更改,包括 2 次插入5 次删除
  1. 2 1
      editor/index.html
  2. 0 1
      editor/js/ui/Menubar.Add.js
  3. 0 1
      editor/js/ui/Menubar.Edit.js
  4. 0 1
      editor/js/ui/Menubar.File.js
  5. 0 1
      editor/js/ui/Menubar.Help.js

+ 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