local shieldhlColor = Settings.ShieldhlColor;
local healpredColor = Settings.HealpredColor;
local healabsorbColor = Settings.HealabsorbColor;
+local width, height = Settings.Width, Settings.Height;
-- placeholders with visible values when error happens
-local width, height = 10, 10;
local anchorX, anchorY = 10, 10;
local attributes = {};
end
local function showTooltip(frame)
- GameTooltip_SetDefaultAnchor(GameTooltip, PlayerFrame);
+ GameTooltip_SetDefaultAnchor(GameTooltip, frame);
GameTooltip:SetUnit(frame:GetAttribute("unit"));
end
end
local function loadCharSettings()
- width, height = Settings.Character.Width, Settings.Character.Height;
anchorX, anchorY = Settings.Character.AnchorX, Settings.Character.AnchorY;
attributes = Settings.Character.Clickheal;
end
UnitFrames:SetScript("OnEvent", function(self, event)
if event == "PLAYER_LOGIN" then
OmaUFLoadChar();
- OmaUFEvents.LoadChar();
hideBlizzardFrames();
initialize();
end