mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-27 05:11:29 -04: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: ->
|
||||
|
|
|
@ -28,3 +28,9 @@
|
|||
|
||||
.share-buttons
|
||||
clear: both
|
||||
|
||||
.modal-header
|
||||
text-align: center
|
||||
|
||||
.victory-banner
|
||||
width: 200px
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
span= levelName
|
||||
span(data-i18n="play_level.victory_title_suffix") Complete
|
||||
|
||||
img.victory-banner(src="/images/level/victory.png", alt="")
|
||||
|
||||
.modal-body!= body
|
||||
|
||||
.modal-footer
|
||||
|
|
Loading…
Add table
Reference in a new issue