mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 03:54:54 +02:00
Minor fixes and add auto resize for images
This commit is contained in:
@@ -110,7 +110,9 @@ function UITabBar:selectTab(tab)
|
||||
tab:setOn(false)
|
||||
|
||||
local parent = tab:getParent()
|
||||
parent:focusChild(tab, MouseFocusReason)
|
||||
if parent then
|
||||
parent:focusChild(tab, MouseFocusReason)
|
||||
end
|
||||
end
|
||||
|
||||
function UITabBar:selectNextTab()
|
||||
|
Reference in New Issue
Block a user