api: use C for config

This commit is contained in:
shagu
2017-02-26 20:42:08 +01:00
parent e20e4ef385
commit 1766dd4ba0
30 changed files with 603 additions and 603 deletions
+2 -2
View File
@@ -43,11 +43,11 @@ pfUI:RegisterModule("eqcompare", function ()
pfUI.eqcompare = CreateFrame( "Frame" , "pfEQCompare", GameTooltip )
pfUI.eqcompare:SetScript("OnShow", function()
if not IsShiftKeyDown() and pfUI_config.tooltip.compare.showalways ~= "1" then
if not IsShiftKeyDown() and C.tooltip.compare.showalways ~= "1" then
return
end
local border = tonumber(pfUI_config.appearance.border.default)
local border = tonumber(C.appearance.border.default)
for i=1,GameTooltip:NumLines() do
local tmpText = _G["GameTooltipTextLeft"..i]