From 781a8ec913139892ff227b43b6ae238a37540311 Mon Sep 17 00:00:00 2001 From: Scott Erickson Date: Thu, 17 Apr 2014 13:37:08 -0700 Subject: [PATCH] Fixed the play and save buttons. --- app/styles/editor/level/edit.sass | 4 ++-- app/templates/editor/level/edit.jade | 6 +++--- app/views/editor/level/edit.coffee | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/styles/editor/level/edit.sass b/app/styles/editor/level/edit.sass index a4f27c597..3e747368f 100644 --- a/app/styles/editor/level/edit.sass +++ b/app/styles/editor/level/edit.sass @@ -20,6 +20,7 @@ // custom navbar height rules .navbar-nav > li > a padding: 7px 8px 8px + cursor: pointer &:hover background-color: lighten($NAVBG, 10%) .navbar @@ -80,5 +81,4 @@ .treema-root background-color: white - border-radius: 4px - + border-radius: 4px \ No newline at end of file diff --git a/app/templates/editor/level/edit.jade b/app/templates/editor/level/edit.jade index ecfebecf9..6b010912d 100644 --- a/app/templates/editor/level/edit.jade +++ b/app/templates/editor/level/edit.jade @@ -39,15 +39,15 @@ block header ul.nav.navbar-nav.navbar-right if authorized - li + li#commit-level-start-button a span.glyphicon-floppy-disk.glyphicon else - li + li#level-patch-button a span.glyphicon-floppy-disk.glyphicon - li(title="⌃↩ or ⌘↩: Play preview of current level") + li(title="⌃↩ or ⌘↩: Play preview of current level")#play-button a span.glyphicon-play.glyphicon li.dropdown diff --git a/app/views/editor/level/edit.coffee b/app/views/editor/level/edit.coffee index 9ba419b47..9a83172ac 100644 --- a/app/views/editor/level/edit.coffee +++ b/app/views/editor/level/edit.coffee @@ -29,7 +29,7 @@ module.exports = class EditorLevelView extends View 'click #fork-level-start-button': 'startForkingLevel' 'click #level-history-button': 'showVersionHistory' 'click #patches-tab': -> @patchesView.load() - 'click #commit-level-patch-button': 'startPatchingLevel' + 'click #level-patch-button': 'startPatchingLevel' 'click #level-watch-button': 'toggleWatchLevel' constructor: (options, @levelID) ->