From fc09eeb4bbc4e1e9c0e63a8e5959271ca7a3a59b Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 18 Jul 2012 15:16:43 -0700 Subject: fixed more menu bugs - Adding top right round corner on submenu - Fixed wrong checkmark on draw 3d grid. Signed-off-by: Valerio Virgillito --- js/ui/menu/menu-controller.js | 4 ++-- js/ui/menu/menu-item.reel/menu-item.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/js/ui/menu/menu-controller.js b/js/ui/menu/menu-controller.js index b6e045db..d93e96bd 100644 --- a/js/ui/menu/menu-controller.js +++ b/js/ui/menu/menu-controller.js @@ -55,7 +55,7 @@ exports.MenuController = Montage.create(Component, { if(this._currentDocument && this._currentDocument.currentView === "design") { document.application.model.show3dGrid = this._currentDocument.model.draw3DGrid; - this.topLevelMenu[2].entries[4].checked = this._currentDocument.model.draw3DGrid; + this.topLevelMenu[2].entries[5].checked = this._currentDocument.model.draw3DGrid; } if(!this._currentDocument) { @@ -150,7 +150,7 @@ exports.MenuController = Montage.create(Component, { handlegrid: { value: function(value) { - this.topLevelMenu[2].entries[4].checked = !this.topLevelMenu[2].entries[4].checked; + this.topLevelMenu[2].entries[5].checked = !this.topLevelMenu[2].entries[5].checked; document.application.model.show3dGrid = this.topLevelMenu[2].entries[4].checked; } }, diff --git a/js/ui/menu/menu-item.reel/menu-item.css b/js/ui/menu/menu-item.reel/menu-item.css index f3683492..cb495b43 100755 --- a/js/ui/menu/menu-item.reel/menu-item.css +++ b/js/ui/menu/menu-item.reel/menu-item.css @@ -129,12 +129,13 @@ POSSIBILITY OF SUCH DAMAGE. top: 0%; left: 100%; margin-top: 1px; - margin-left: 1px; + /*margin-left: 1px;*/ float:left; font-family: 'Droid Sans', sans-serif !important; color: #ffffff; background: #494949; /*border: 1px solid #292929;*/ + border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; /*border-radius: 8px;*/ -- cgit v1.2.3