mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Support to miniwindow margin, fix protocollogin connectCallback, pt translation
This commit is contained in:
@@ -135,7 +135,7 @@ function UIScrollArea:ensureChildVisible(child)
|
||||
if deltaY > 0 then
|
||||
self.verticalScrollBar:increment(deltaY)
|
||||
end
|
||||
else
|
||||
elseif self.horizontalScrollBar then
|
||||
local deltaX = paddingRect.x - child:getX()
|
||||
if deltaX > 0 then
|
||||
self.horizontalScrollBar:decrement(deltaX)
|
||||
|
Reference in New Issue
Block a user