|
@@ -2,9 +2,6 @@ Menubar.Edit = function ( editor ) {
|
|
|
|
|
|
var container = new UI.Panel();
|
|
var container = new UI.Panel();
|
|
container.setClass( 'menu' );
|
|
container.setClass( 'menu' );
|
|
- container.onMouseOver( function () { options.setDisplay( 'block' ) } );
|
|
|
|
- container.onMouseOut( function () { options.setDisplay( 'none' ) } );
|
|
|
|
- container.onClick( function () { options.setDisplay( 'block' ) } );
|
|
|
|
|
|
|
|
var title = new UI.Panel();
|
|
var title = new UI.Panel();
|
|
title.setTextContent( 'Edit' );
|
|
title.setTextContent( 'Edit' );
|
|
@@ -16,7 +13,6 @@ Menubar.Edit = function ( editor ) {
|
|
|
|
|
|
var options = new UI.Panel();
|
|
var options = new UI.Panel();
|
|
options.setClass( 'options' );
|
|
options.setClass( 'options' );
|
|
- options.setDisplay( 'none' );
|
|
|
|
container.add( options );
|
|
container.add( options );
|
|
|
|
|
|
// clone
|
|
// clone
|