Full Revamp on Auto Hide Settings

This commit is contained in:
Tercio Jose
2020-06-21 18:56:17 -03:00
parent fe702cf97f
commit 2d40243d25
14 changed files with 481 additions and 202 deletions
+1
View File
@@ -904,6 +904,7 @@ local set_switch_func = function (self, newFunction)
end
local set_as_checkbok = function (self)
if self.is_checkbox and self.checked_texture then return end
local checked = self:CreateTexture (self:GetName() .. "CheckTexture", "overlay")
checked:SetTexture ([[Interface\Buttons\UI-CheckBox-Check]])
checked:SetPoint ("center", self.button, "center", -1, -1)