Formatting updates.

main
jeffi 11 months ago
parent 4378d3366c
commit 54dd667921
  1. 4
      DiesalGUI-2.0/Objects/Toggle.lua

@ -111,8 +111,7 @@ local methods = {
---@param self DiesalToggle
Disable = function(self)
self.settings.disabled = true
DiesalStyle:StyleTexture(self.check, self.checkBoxStyle and self.checkBoxStyle.disabled or checkBoxStyle
.disabled)
DiesalStyle:StyleTexture(self.check, self.checkBoxStyle and self.checkBoxStyle.disabled or checkBoxStyle.disabled)
self.frame:Disable()
end,
@ -160,7 +159,6 @@ local function Constructor()
---@field label FontString
local self = DiesalGUI:Create(Type, true)
local frame = CreateFrame("CheckButton", nil, UIParent)
---@type Diesal.GUI.Region.FontString
local fontString = self:CreateRegion("FontString", "label", frame)
self.frame = frame

Loading…
Cancel
Save