Fixed the play and save buttons.

This commit is contained in:
Scott Erickson 2014-04-17 13:37:08 -07:00
parent 07afba01df
commit 781a8ec913
3 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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) ->