From 54dd6679216964ee50fa3cd25a778463dbc4f3fa Mon Sep 17 00:00:00 2001 From: jeffi Date: Fri, 23 Feb 2024 07:23:15 -0600 Subject: [PATCH] Formatting updates. --- DiesalGUI-2.0/Objects/Toggle.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/DiesalGUI-2.0/Objects/Toggle.lua b/DiesalGUI-2.0/Objects/Toggle.lua index 534e336..ada167e 100644 --- a/DiesalGUI-2.0/Objects/Toggle.lua +++ b/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