Stop cast button progress overlay before cast settings gear.

This commit is contained in:
Nick Winter 2014-02-22 17:50:45 -08:00
parent 0d9213ad44
commit c21952646a

View file

@ -63,7 +63,7 @@ module.exports = class CastButtonView extends View
onWorldLoadProgressChanged: (e) ->
overlay = @castButtonGroup.find '.button-progress-overlay'
overlay.css 'width', e.progress * @castButtonGroup.width() + 1
overlay.css 'width', e.progress * @castButton.outerWidth() + 1
onNewWorld: (e) ->
@casting = false