Browse Source

Merge pull request #965 from diath/fix_tab_blink

Fix tab blink
Konrad Kuśnierz 1 year ago
parent
commit
7e31980ba3
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      modules/corelib/ui/uimovabletabbar.lua

+ 5
- 0
modules/corelib/ui/uimovabletabbar.lua View File

@@ -385,6 +385,11 @@ function UIMoveableTabBar:selectTab(tab)
385 385
   tab:setOn(false)
386 386
   tab.blinking = false
387 387
 
388
+  if tab.blinkEvent then
389
+    removeEvent(tab.blinkEvent)
390
+    tab.blinkEvent = nil
391
+  end
392
+
388 393
   local parent = tab:getParent()
389 394
   parent:focusChild(tab, MouseFocusReason)
390 395
   updateNavigation(self)

Loading…
Cancel
Save