Hit a really bad victory modal image.

This commit is contained in:
Nick Winter 2014-02-28 21:29:14 -08:00
parent 58f2aa6123
commit 7855ca02d8
4 changed files with 11 additions and 2 deletions

View file

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

View file

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

View file

@ -27,4 +27,10 @@
box-sizing: border-box
.share-buttons
clear: both
clear: both
.modal-header
text-align: center
.victory-banner
width: 200px

View file

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