Fixed the bug where opening a modal or switching a tab while having a thang to add selected would create a thang.

This commit is contained in:
Scott Erickson 2014-01-28 11:54:16 -08:00
parent e2db421d1c
commit 00872f80f9

View file

@ -155,6 +155,7 @@ module.exports = class ThangsTabView extends View
@surface.destroy()
onViewSwitched: (e) ->
@selectAddThang()
@surface?.spriteBoss?.selectSprite null, null
onSpriteMouseDown: (e) ->