WoWInterface SVN Ara_Broker_Guild_Friends

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 24 to Rev 25
    Reverse comparison

Rev 24 → Rev 25

trunk/Ara_Broker_Guild_Friends.lua
75,7 → 75,7
end
 
local function ShowBlockHints()
local showBelow = select(2, f:GetCenter()) > UIParent:GetHeight()/2
local showBelow = UIParent:GetHeight()-f:GetTop()*f:GetScale() < f:GetBottom()*f:GetScale()
tip:SetOwner(f, "ANCHOR_NONE")
tip:SetPoint(showBelow and "TOP" or "BOTTOM", f, showBelow and "BOTTOM" or "TOP")
tip:AddLine"Hints [|cffffffffBlock|r]"
93,7 → 93,7
 
local function ShowHints(btn)
if not config.hideHints and btn and btn.unit then
local showBelow = select(2, f:GetCenter()) > UIParent:GetHeight()/2
local showBelow = UIParent:GetHeight()-f:GetTop()*f:GetScale() < f:GetBottom()*f:GetScale()
tip:SetOwner(f, "ANCHOR_NONE")
tip:SetPoint(showBelow and "TOP" or "BOTTOM", f, showBelow and "BOTTOM" or "TOP")
tip:AddLine"Hints"
107,6 → 107,7
else
tip:AddLine("|cffff8020MiddleClick|r to remove friend.", .2, 1, .2)
end
tip:AddLine("|cffff8020Ctrl+MouseWheel|r to resize. (test)", .2, 1, .2)
tip:Show()
tipShown = true
end