mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-27 23:57:13 +09:00
.
This commit is contained in:
1 parent
fe8ad1b7b1
commit
9fb93ed11b
1 file changed
+5
-5
@@ -289,18 +289,17 @@ function Elements.items_table.rows_adjust(items_table, display_data)
|
||||
end
|
||||
]]
|
||||
|
||||
for i=1, min_r do
|
||||
--rows[i][2]
|
||||
if min_r < d_len then
|
||||
for name, stat_bar in pairs(Elements.items_table.data[items_table]) do
|
||||
Elements.stat_bar.refresh(stat_bar, display_data[name])
|
||||
end
|
||||
|
||||
if min_r < d_len then
|
||||
for i=min_r, d_len do
|
||||
for _, v in ipairs(rows[i]) do
|
||||
Gui.destroy_if_valid(v)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
else
|
||||
for name, vnc in pairs(display_data) do
|
||||
local r = {}
|
||||
r[1] = Elements.stat_label(stats_table, {
|
||||
@@ -330,6 +329,7 @@ function Elements.items_table.rows_adjust(items_table, display_data)
|
||||
rows[#rows + 1] = r
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--- @param controls LuaGuiElement
|
||||
local function surface_index_from_element(controls)
|
||||
|
||||
Reference in new issue
Block a user