mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-30 16:03:37 -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
app
lib
styles/play/level/modal
templates/play/level/modal
|
@ -255,7 +255,7 @@ class Angel
|
||||||
|
|
||||||
testWorker: =>
|
testWorker: =>
|
||||||
unless @worker.initialized
|
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
|
return
|
||||||
@worker.postMessage {func: 'reportIn'}
|
@worker.postMessage {func: 'reportIn'}
|
||||||
@condemnTimeout = _.delay @condemnWorker, @infiniteLoopTimeoutDuration
|
@condemnTimeout = _.delay @condemnWorker, @infiniteLoopTimeoutDuration
|
||||||
|
|
|
@ -374,6 +374,7 @@ module.exports = Surface = class Surface extends CocoClass
|
||||||
@stage.addEventListener 'stagemousedown', @onMouseDown
|
@stage.addEventListener 'stagemousedown', @onMouseDown
|
||||||
@canvas.on 'mousewheel', @onMouseWheel
|
@canvas.on 'mousewheel', @onMouseWheel
|
||||||
@hookUpChooseControls() if @options.choosing
|
@hookUpChooseControls() if @options.choosing
|
||||||
|
createjs.Ticker.timingMode = createjs.Ticker.RAF_SYNCHED
|
||||||
createjs.Ticker.setFPS @options.frameRate
|
createjs.Ticker.setFPS @options.frameRate
|
||||||
|
|
||||||
showLevel: ->
|
showLevel: ->
|
||||||
|
|
|
@ -27,4 +27,10 @@
|
||||||
box-sizing: border-box
|
box-sizing: border-box
|
||||||
|
|
||||||
.share-buttons
|
.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(data-i18n="play_level.victory_title_prefix")
|
||||||
span= levelName
|
span= levelName
|
||||||
span(data-i18n="play_level.victory_title_suffix") Complete
|
span(data-i18n="play_level.victory_title_suffix") Complete
|
||||||
|
|
||||||
|
img.victory-banner(src="/images/level/victory.png", alt="")
|
||||||
|
|
||||||
.modal-body!= body
|
.modal-body!= body
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue