mirror of
https://github.com/Bluewhale1337/HealBotBlue.git
synced 2026-07-27 01:34:44 +00:00
Update HealBot.lua
White background fix continued Signed-off-by: Bluewhale1337 <295648290+Bluewhale1337@users.noreply.github.com>
This commit is contained in:
+20
@@ -1178,6 +1178,26 @@ function HealBot_OnEvent_PlayerRegenDisabled(this)
|
||||
if HealBot_Config.AutoClose==1 and HealBot_Config.ActionVisible~=0 then HealBot_Action:Hide(); end;
|
||||
else
|
||||
HealBot_Action:Show();
|
||||
|
||||
-- Reapply user settings to override the engine's white default
|
||||
if HealBot_Config and HealBot_Config.Current_Skin then
|
||||
local skin = HealBot_Config.Current_Skin;
|
||||
if HealBot_Config.backcolr and HealBot_Config.backcolr[skin] then
|
||||
HealBot_Action:SetBackdropColor(
|
||||
HealBot_Config.backcolr[skin],
|
||||
HealBot_Config.backcolg[skin],
|
||||
HealBot_Config.backcolb[skin],
|
||||
HealBot_Config.backcola[skin]
|
||||
);
|
||||
HealBot_Action:SetBackdropBorderColor(
|
||||
HealBot_Config.borcolr[skin],
|
||||
HealBot_Config.borcolg[skin],
|
||||
HealBot_Config.borcolb[skin],
|
||||
HealBot_Config.borcola[skin]
|
||||
);
|
||||
end
|
||||
end
|
||||
|
||||
HealBot_IsFighting = true;
|
||||
end
|
||||
-- HealBot_RecalcHeals();
|
||||
|
||||
Reference in New Issue
Block a user