mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Version 0.8
- 2.0 compatible - Removed bunch of unused libs (recommended to delete your /libs folder before updating) - Added a restriction to open configuration settings only out of combat - TargetInfo module optimized (no longer eats your memory and babies when changing options) - Shows up to 40 buffs/debuffs, ability to filter buffs (never/in combat/always) - No longer uses SpellStatus lib (new events do everything worth doing) - New module TargetCast, basically does what Blizzard target frame cast bar does - Removed module TimerBar (it was next to useless) - Brackets around bar texts now toggleable - Some misc. bug fixes (eg. colors now change properly when a duel starts)
This commit is contained in:
@ -239,7 +239,7 @@ function IceElement.prototype:ConvertToHex(color)
|
||||
end
|
||||
|
||||
|
||||
function IceElement.prototype:FontFactory(weight, size, frame, font)
|
||||
function IceElement.prototype:FontFactory(weight, size, frame, font, flags)
|
||||
local weightString = ""
|
||||
if (weight) then
|
||||
weightString = "Bold"
|
||||
@ -260,9 +260,11 @@ function IceElement.prototype:FontFactory(weight, size, frame, font)
|
||||
else
|
||||
fontString = font
|
||||
end
|
||||
fontString:SetFont(fontFile, size)
|
||||
fontString:SetShadowColor(0, 0, 0, 1)
|
||||
fontString:SetShadowOffset(1, -1)
|
||||
fontString:SetFont(fontFile, size, flags)
|
||||
if not (flags) then
|
||||
fontString:SetShadowColor(0, 0, 0, 1)
|
||||
fontString:SetShadowOffset(1, -1)
|
||||
end
|
||||
|
||||
return fontString
|
||||
end
|
||||
|
Reference in New Issue
Block a user