Libs/LibStatLogic: Use BasicTooltipTemplate (#1)
This commit is contained in:
@@ -5537,7 +5537,7 @@ setmetatable(cache, {__mode = "kv"}) -- weak table to enable garbage collection
|
|||||||
local tip = StatLogic.tip
|
local tip = StatLogic.tip
|
||||||
if not tip then
|
if not tip then
|
||||||
-- Create a custom tooltip for scanning
|
-- Create a custom tooltip for scanning
|
||||||
tip = CreateFrame("GameTooltip", "StatLogicTooltip", nil, "GameTooltipTemplate")
|
tip = CreateFrame("GameTooltip", "StatLogicTooltip", nil, "BasicTooltipTemplate")
|
||||||
StatLogic.tip = tip
|
StatLogic.tip = tip
|
||||||
tip:SetOwner(UIParent, "ANCHOR_NONE")
|
tip:SetOwner(UIParent, "ANCHOR_NONE")
|
||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
@@ -5556,7 +5556,7 @@ end
|
|||||||
local tipMiner = StatLogic.tipMiner
|
local tipMiner = StatLogic.tipMiner
|
||||||
if not tipMiner then
|
if not tipMiner then
|
||||||
-- Create a custom tooltip for data mining
|
-- Create a custom tooltip for data mining
|
||||||
tipMiner = CreateFrame("GameTooltip", "StatLogicMinerTooltip", nil, "GameTooltipTemplate")
|
tipMiner = CreateFrame("GameTooltip", "StatLogicMinerTooltip", nil, "BasicTooltipTemplate")
|
||||||
StatLogic.tipMiner = tipMiner
|
StatLogic.tipMiner = tipMiner
|
||||||
tipMiner:SetOwner(UIParent, "ANCHOR_NONE")
|
tipMiner:SetOwner(UIParent, "ANCHOR_NONE")
|
||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
|
|||||||
@@ -5575,7 +5575,7 @@ setmetatable(cache, {__mode = "kv"}) -- weak table to enable garbage collection
|
|||||||
local tip = StatLogic.tip
|
local tip = StatLogic.tip
|
||||||
if not tip then
|
if not tip then
|
||||||
-- Create a custom tooltip for scanning
|
-- Create a custom tooltip for scanning
|
||||||
tip = CreateFrame("GameTooltip", MAJOR.."Tooltip", nil, "GameTooltipTemplate")
|
tip = CreateFrame("GameTooltip", MAJOR.."Tooltip", nil, "BasicTooltipTemplate")
|
||||||
StatLogic.tip = tip
|
StatLogic.tip = tip
|
||||||
tip:SetOwner(UIParent, "ANCHOR_NONE")
|
tip:SetOwner(UIParent, "ANCHOR_NONE")
|
||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
@@ -5594,7 +5594,7 @@ end
|
|||||||
local tipMiner = StatLogic.tipMiner
|
local tipMiner = StatLogic.tipMiner
|
||||||
if not tipMiner then
|
if not tipMiner then
|
||||||
-- Create a custom tooltip for data mining
|
-- Create a custom tooltip for data mining
|
||||||
tipMiner = CreateFrame("GameTooltip", MAJOR.."MinerTooltip", nil, "GameTooltipTemplate")
|
tipMiner = CreateFrame("GameTooltip", MAJOR.."MinerTooltip", nil, "BasicTooltipTemplate")
|
||||||
StatLogic.tipMiner = tipMiner
|
StatLogic.tipMiner = tipMiner
|
||||||
tipMiner:SetOwner(UIParent, "ANCHOR_NONE")
|
tipMiner:SetOwner(UIParent, "ANCHOR_NONE")
|
||||||
for i = 1, 30 do
|
for i = 1, 30 do
|
||||||
|
|||||||
Reference in New Issue
Block a user