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

Loading…
Cancel
Save