This commit is contained in:
Nick Winter 2014-09-23 10:56:52 -07:00
parent 00e2fc99a2
commit 33080e5a65

View file

@ -612,6 +612,7 @@ module.exports = class PlayLevelView extends RootView
@onWindowResize() @onWindowResize()
onRealTimePlaybackEnded: (e) -> onRealTimePlaybackEnded: (e) ->
return unless @$el.hasClass 'real-time'
@$el.removeClass 'real-time' @$el.removeClass 'real-time'
@onWindowResize() @onWindowResize()
if @world.frames.length is @world.totalFrames if @world.frames.length is @world.totalFrames