From c21952646a51cc9068288a1868f3f9607d052cba Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Sat, 22 Feb 2014 17:50:45 -0800 Subject: [PATCH] Stop cast button progress overlay before cast settings gear. --- app/views/play/level/tome/cast_button_view.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/play/level/tome/cast_button_view.coffee b/app/views/play/level/tome/cast_button_view.coffee index 69c9cd8f4..2a3cf5644 100644 --- a/app/views/play/level/tome/cast_button_view.coffee +++ b/app/views/play/level/tome/cast_button_view.coffee @@ -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