mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-07 10:34:46 -04:00
Merge branch 'master' of https://github.com/codecombat/codecombat
This commit is contained in:
commit
bf80b806c6
2 changed files with 8 additions and 1 deletions
app
|
@ -97,5 +97,6 @@
|
|||
border-bottom: 1px dotted rgba(255, 128, 128, 0.45)
|
||||
|
||||
.ace_text-layer .ace_comment
|
||||
color: darken(rgb(76, 136, 107), 5%)
|
||||
color: darken(rgb(103, 164, 200), 5%)
|
||||
|
||||
|
||||
|
|
|
@ -64,6 +64,9 @@ module.exports = class PlayLevelView extends View
|
|||
events:
|
||||
'click #level-done-button': 'onDonePressed'
|
||||
|
||||
shortcuts:
|
||||
'ctrl+s': 'onCtrlS'
|
||||
|
||||
constructor: (options, @levelID) ->
|
||||
console.profile?() if PROFILE_ME
|
||||
super options
|
||||
|
@ -189,6 +192,9 @@ module.exports = class PlayLevelView extends View
|
|||
|
||||
# callbacks
|
||||
|
||||
onCtrlS: (e) ->
|
||||
e.preventDefault()
|
||||
|
||||
onLevelReloadFromData: (e) ->
|
||||
isReload = Boolean @world
|
||||
@setLevel e.level, e.supermodel
|
||||
|
|
Loading…
Add table
Reference in a new issue