- Fixed East Asian myriads showing a giganting non formated number in the total bar DPS.
- Added a reset nickname button in the right side of the nickname field. - Framework and NickTag library updates.
This commit is contained in:
@@ -3378,6 +3378,31 @@ function DF:CreateCoolTip()
|
||||
end
|
||||
end
|
||||
|
||||
function CoolTip:QuickTooltip (host, ...)
|
||||
|
||||
CoolTip:Preset (2)
|
||||
CoolTip:SetHost (host)
|
||||
|
||||
for i = 1, select ("#", ...) do
|
||||
local line = select (i, ...)
|
||||
CoolTip:AddLine (line)
|
||||
end
|
||||
|
||||
CoolTip:ShowCooltip()
|
||||
end
|
||||
|
||||
function CoolTip:InjectQuickTooltip (host, ...)
|
||||
host.CooltipQuickTooltip = {...}
|
||||
host:HookScript ("OnEnter", function()
|
||||
CoolTip:QuickTooltip (host, unpack (host.CooltipQuickTooltip))
|
||||
end)
|
||||
host:HookScript ("OnLeave", function()
|
||||
CoolTip:Hide()
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
|
||||
return CoolTip
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user