mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Hit a really bad victory modal image.
This commit is contained in:
parent
58f2aa6123
commit
7855ca02d8
4 changed files with 11 additions and 2 deletions
|
@ -255,7 +255,7 @@ class Angel
|
|||
|
||||
testWorker: =>
|
||||
unless @worker.initialized
|
||||
console.warning "Worker", @id, "hadn't even loaded the scripts yet after", @infiniteLoopIntervalDuration, "ms."
|
||||
console.warn "Worker", @id, "hadn't even loaded the scripts yet after", @infiniteLoopIntervalDuration, "ms."
|
||||
return
|
||||
@worker.postMessage {func: 'reportIn'}
|
||||
@condemnTimeout = _.delay @condemnWorker, @infiniteLoopTimeoutDuration
|
||||
|
|
|
@ -374,6 +374,7 @@ module.exports = Surface = class Surface extends CocoClass
|
|||
@stage.addEventListener 'stagemousedown', @onMouseDown
|
||||
@canvas.on 'mousewheel', @onMouseWheel
|
||||
@hookUpChooseControls() if @options.choosing
|
||||
createjs.Ticker.timingMode = createjs.Ticker.RAF_SYNCHED
|
||||
createjs.Ticker.setFPS @options.frameRate
|
||||
|
||||
showLevel: ->
|
||||
|
|
|
@ -27,4 +27,10 @@
|
|||
box-sizing: border-box
|
||||
|
||||
.share-buttons
|
||||
clear: both
|
||||
clear: both
|
||||
|
||||
.modal-header
|
||||
text-align: center
|
||||
|
||||
.victory-banner
|
||||
width: 200px
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
span(data-i18n="play_level.victory_title_prefix")
|
||||
span= levelName
|
||||
span(data-i18n="play_level.victory_title_suffix") Complete
|
||||
|
||||
img.victory-banner(src="/images/level/victory.png", alt="")
|
||||
|
||||
.modal-body!= body
|
||||
|
||||
|
|
Loading…
Reference in a new issue