Skip to content

Commit

Permalink
Fixed an issue with alpha values not being added initalized properly …
Browse files Browse the repository at this point in the history
…at all
  • Loading branch information
LiuJonathan committed Nov 24, 2019
1 parent ac4bd5c commit 943d60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HealComm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ hooksecurefunc("CompactUnitFrame_SetUnit", CompactUnitFrame_SetUnitHook) -- This
]]--
function HealComm:OnInitialize()
--Initalize new options for 1.1.0
HealCommSettings.healColor = HealCommSettings.healColor or {red=0,green=1,blue=0,alpha=0.6}
HealCommSettings.healColor.alpha = HealCommSettings.healColor.alpha or 0.6
--Fix for users upgrading from 1.1.3 and earlier
if HealCommSettings.healColor.alpha > 1 then
HealCommSettings.healColor.alpha=0.6;
Expand Down

0 comments on commit 943d60b

Please sign in to comment.