mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39: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:setOn(false)
|
||||||
tab.blinking = false
|
tab.blinking = false
|
||||||
|
|
||||||
|
if tab.blinkEvent then
|
||||||
|
removeEvent(tab.blinkEvent)
|
||||||
|
tab.blinkEvent = nil
|
||||||
|
end
|
||||||
|
|
||||||
local parent = tab:getParent()
|
local parent = tab:getParent()
|
||||||
parent:focusChild(tab, MouseFocusReason)
|
parent:focusChild(tab, MouseFocusReason)
|
||||||
updateNavigation(self)
|
updateNavigation(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user