From 502a2d0ded4a842bec14efd83f88692be56eaa71 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 26 Jul 2015 17:46:10 +0400 Subject: [PATCH] Fixing sizes and positioning for consolidated buff bars --- ElvUI_SLE/modules/auras.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/auras.lua b/ElvUI_SLE/modules/auras.lua index baf82ac..3fdf563 100644 --- a/ElvUI_SLE/modules/auras.lua +++ b/ElvUI_SLE/modules/auras.lua @@ -110,6 +110,10 @@ function AT:Update_ConsolidatedBuffsSettings() button:Point("TOPRIGHT", frame[ignoreIcons[i - 1] or (i - 1)], "BOTTOMRIGHT", 0, (E.PixelMode and 2 or -1)) end + if i == NUM_LE_RAID_BUFF_TYPES then + button:Point("BOTTOMRIGHT", ElvUI_ConsolidatedBuffs, "BOTTOMRIGHT", 0, (E.PixelMode and 0 or 2)) --2 needs to be 0 + end + if button.icon:IsShown() then button:SetWidth(E.ConsolidatedBuffsWidth - 3) end @@ -166,9 +170,9 @@ function A:CreateButton(i) button.icon = CreateFrame("Frame", "ElvUIConsolidatedBuff"..i.."CanCast", button) local icon = button.icon - icon:SetWidth(3) - icon:SetPoint("TOPLEFT", button, -1, -1) - icon:SetPoint("BOTTOMLEFT", button, -1, 1) + icon:Width(3) + icon:SetPoint("TOPRIGHT", button, "TOPLEFT", 1, -1) + icon:SetPoint("BOTTOMRIGHT", button, "BOTTOMLEFT", 1, 1) local overlay = icon:CreateTexture(nil, "OVERLAY") overlay:SetTexture(E['media'].blankTex) overlay:SetAllPoints(icon) -- 1.7.9.5