This commit is contained in:
Nick Winter 2014-04-09 09:04:59 -07:00
parent 36ac30e59a
commit 76054345d7
2 changed files with 5 additions and 2 deletions

View file

@ -22,6 +22,8 @@
position: absolute position: absolute
z-index: 20 z-index: 20
$UNVEIL_TIME: 1.2s $UNVEIL_TIME: 1.2s
&.unveiled
pointer-events: none pointer-events: none
.loading-details .loading-details

View file

@ -34,6 +34,7 @@ module.exports = class LevelLoadingView extends View
reallyUnveil: => reallyUnveil: =>
return if @destroyed return if @destroyed
@$el.addClass 'unveiled'
loadingDetails = @$el.find('.loading-details') loadingDetails = @$el.find('.loading-details')
duration = parseFloat loadingDetails.css 'transition-duration' duration = parseFloat loadingDetails.css 'transition-duration'
loadingDetails.css 'top', -loadingDetails.outerHeight(true) loadingDetails.css 'top', -loadingDetails.outerHeight(true)