mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
Fix tab blink
This commit is contained in:
parent
4007980c0c
commit
ba558404d3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user