فهرست منبع

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