Загрузить файлы в «/»

This commit is contained in:
Ade
2026-10-14 02:33:14 +00:00
parent 82b9bf2e03
commit 5c570522e9
3 changed files with 68 additions and 3 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ function AA.Layout()
local bw = math.floor((pw - 18) / 2)
local bh = ph - 90
AA.COLS = math.max(1, math.floor((bw - 37) / AA.CELL))
AA.GROWS = math.max(1, math.floor((bh - 30) / AA.CELL))
AA.GROWS = math.max(1, math.floor((bh - 68) / AA.CELL))
AA.BI:SetWidth(bw)
AA.BI:SetHeight(bh)
AA.BB:SetWidth(bw)
@@ -44,7 +44,7 @@ function AA.Layout()
b:ClearAllPoints()
local r = math.floor((i - 1) / AA.COLS)
local c = math.mod(i - 1, AA.COLS)
b:SetPoint("TOPLEFT", B, "TOPLEFT", 9 + c * AA.CELL, -28 - r * AA.CELL)
b:SetPoint("TOPLEFT", B, "TOPLEFT", 9 + c * AA.CELL, -66 - r * AA.CELL)
end
end