from retail
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if not WeakAuras.IsCorrectVersion() then return end
|
||||
if not WeakAuras.IsCorrectVersion() or not WeakAuras.IsLibsOK() then return end
|
||||
local AddonName, Private = ...
|
||||
|
||||
local SharedMedia = LibStub("LibSharedMedia-3.0");
|
||||
@@ -54,7 +54,7 @@ local function GetProperties(data)
|
||||
end
|
||||
|
||||
local function create(parent)
|
||||
local region = CreateFrame("FRAME", nil, parent);
|
||||
local region = CreateFrame("Frame", nil, parent);
|
||||
region.regionType = "text"
|
||||
region:SetMovable(true);
|
||||
|
||||
@@ -98,7 +98,7 @@ local function modify(parent, region, data)
|
||||
local tooltipType = Private.CanHaveTooltip(data);
|
||||
if(tooltipType and data.useTooltip) then
|
||||
if not region.tooltipFrame then
|
||||
region.tooltipFrame = CreateFrame("frame", nil, region);
|
||||
region.tooltipFrame = CreateFrame("Frame", nil, region);
|
||||
region.tooltipFrame:SetAllPoints(region);
|
||||
region.tooltipFrame:SetScript("OnEnter", function()
|
||||
Private.ShowMouseoverTooltip(region, region);
|
||||
|
||||
Reference in New Issue
Block a user