View Single Post
01-02-19, 01:39 PM   #11
Tim
A Rage Talon Dragon Guard
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 309
- In ActionButtonSkin.lua keep the StyleButton line commented out

- In FakeBottomRightBar.lua I reverted the changes that I had you do in this post .
- In the StyleButton function, right after
Code:
    if icon then
        icon:SetTexCoord(0.05, 0.95, 0.05, 0.95)
    end
I put
Code:
    if name:find("MultiBarBottomRight") then return end
And this is the resulting image





As for his function being better for relocating the 3rd bar, I don't see how that's so. Altering the core SetPoint function works and is straightforward. If you want an easy way to change the positioning without having to go all the way down and through the code you could do this following...

Somewhere near the top of the file add
Code:
local POINTS = {"CENTER", "UIParent", "CENTER", 0, 100,}
Then down in the CreateBar function..

Comment out this line just so you have the original points for reference
Code:
    bar:SetPoint("BOTTOMLEFT", MultiBarBottomLeftButton1, "TOPLEFT", 0, 6)
and right below it add
Code:
bar:SetPoint(unpack(POINTS))

You will then just have to alter the line at the very top I had you add.
__________________
AddOns: Tim @ WoWInterface
Battle Tag: Mysterio#11164
Current PC Setup: PCPartPicker List
  Reply With Quote