map buttons row setpoints updated
Steven Jackson [07-20-15 - 06:34]
map buttons row setpoints updated
diff --git a/SVUI_Maps/SVUI_Maps.lua b/SVUI_Maps/SVUI_Maps.lua
index 081729f..a013792 100644
--- a/SVUI_Maps/SVUI_Maps.lua
+++ b/SVUI_Maps/SVUI_Maps.lua
@@ -129,7 +129,7 @@ do
MMBBar:SetFrameLevel(0)
local list = MOD.MinimapButtons
- local count,column = 1,0;
+ local count,column = 0,1;
for name,btn in pairs(list) do
local preset = btn.preset;
@@ -157,6 +157,9 @@ do
btn:SetFrameStrata("LOW")
btn:SetFrameLevel(20)
btn:SetSize(MM_BTN_SIZE, MM_BTN_SIZE)
+ if(column >= MM_BTN_ROW) then
+ column = 1;
+ end
local xPos, yPos = 0,0;
local row = floor(count / MM_BTN_ROW);
if SV.db.Maps.minimapbar.styleType == "HORIZONTAL"then