From ba558404d34696e135f68079e038d318cdf5e282 Mon Sep 17 00:00:00 2001 From: Kamil Chojnowski Date: Mon, 23 Apr 2018 14:29:39 +0200 Subject: [PATCH] Fix tab blink --- modules/corelib/ui/uimovabletabbar.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/corelib/ui/uimovabletabbar.lua b/modules/corelib/ui/uimovabletabbar.lua index 1d398196..d4991cc0 100644 --- a/modules/corelib/ui/uimovabletabbar.lua +++ b/modules/corelib/ui/uimovabletabbar.lua @@ -385,6 +385,11 @@ function UIMoveableTabBar:selectTab(tab) tab:setOn(false) tab.blinking = false + if tab.blinkEvent then + removeEvent(tab.blinkEvent) + tab.blinkEvent = nil + end + local parent = tab:getParent() parent:focusChild(tab, MouseFocusReason) updateNavigation(self)