mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Some overall fixes:
* Fix to market constraints. * Fixed bug with skill percent not rounding. * Dereference textEdit variable properly. * Fix to the outfit window regarding mounts. * Added enableResize to UIMiniWindow. * Some minor edits.
This commit is contained in:
@@ -22,7 +22,7 @@ end
|
||||
|
||||
function reloadContainers()
|
||||
clean()
|
||||
for containerid,container in pairs(g_game.getContainers()) do
|
||||
for _,container in pairs(g_game.getContainers()) do
|
||||
onContainerOpen(container)
|
||||
end
|
||||
end
|
||||
@@ -91,7 +91,7 @@ function onContainerOpen(container, previousContainer)
|
||||
|
||||
local layout = containerPanel:getLayout()
|
||||
local cellSize = layout:getCellSize()
|
||||
containerWindow:setContentMinimumHeight(cellSize.height*1)
|
||||
containerWindow:setContentMinimumHeight(cellSize.height)
|
||||
containerWindow:setContentMaximumHeight(cellSize.height*layout:getNumLines())
|
||||
|
||||
if not previousContainer then
|
||||
|
Reference in New Issue
Block a user