mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
More fixes to miniwindow
This commit is contained in:
@@ -98,6 +98,8 @@ function onContainerOpen(container, previousContainer)
|
||||
local filledLines = math.max(math.ceil(container:getItemsCount() / layout:getNumColumns()), 1)
|
||||
containerWindow:setContentHeight(filledLines*cellSize.height)
|
||||
end
|
||||
|
||||
containerWindow:setup()
|
||||
end
|
||||
|
||||
function onContainerClose(container)
|
||||
|
Reference in New Issue
Block a user