Загрузить файлы в «/»
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user