mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
optimize UIWidget for largers NPC trades
This commit is contained in:
@@ -148,7 +148,7 @@ local function refreshTradeItems()
|
||||
for key,item in pairs(currentTradeItems) do
|
||||
local itemBox = createWidget('NPCItemBox', itemsPanel)
|
||||
itemBox.item = item
|
||||
|
||||
|
||||
local name = item.name
|
||||
local weight = string.format('%.2f', item.weight) .. ' ' .. WEIGHT_UNIT
|
||||
local price = item.price .. ' ' .. CURRENCY
|
||||
|
Reference in New Issue
Block a user