Fixed texture creating passing wrong parameters

This commit is contained in:
Tercio Jose
2022-09-02 08:50:45 -03:00
parent 58bf707f40
commit 5c2e1a19f6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3873,7 +3873,7 @@ local button_tab_template = DF.table.copy ({}, DF:GetTemplate ("button", "OPTION
button_tab_template.backdropbordercolor = nil
DF.TabContainerFunctions.CreateUnderlineGlow = function (button)
local selectedGlow = button:CreateTexture (nil, "background", -4)
local selectedGlow = button:CreateTexture (nil, "background", nil, -4)
selectedGlow:SetPoint ("topleft", button.widget, "bottomleft", -7, 0)
selectedGlow:SetPoint ("topright", button.widget, "bottomright", 7, 0)
selectedGlow:SetTexture ([[Interface\BUTTONS\UI-Panel-Button-Glow]])