|
|
@ -90,7 +90,7 @@ local methods = { |
|
|
|
|
|
|
|
|
|
|
|
self:SetWidth(settings.width) |
|
|
|
self:SetWidth(settings.width) |
|
|
|
self:SetHeight(settings.height) |
|
|
|
self:SetHeight(settings.height) |
|
|
|
self.check:SetFont(MaterialIconsRegular:GetFont(), settings.height + 1, "") |
|
|
|
self.check:SetFont(MaterialSymbolsRounded:GetFont(), settings.height + 1, "") |
|
|
|
end, |
|
|
|
end, |
|
|
|
|
|
|
|
|
|
|
|
---@param self Diesal.GUI.Object.IconToggle |
|
|
|
---@param self Diesal.GUI.Object.IconToggle |
|
|
@ -187,7 +187,7 @@ local function Constructor() |
|
|
|
local check = self:CreateRegion("FontString", "check", frame) |
|
|
|
local check = self:CreateRegion("FontString", "check", frame) |
|
|
|
check:SetAllPoints(frame, true) |
|
|
|
check:SetAllPoints(frame, true) |
|
|
|
--check:SetAllPoints(frame, true) |
|
|
|
--check:SetAllPoints(frame, true) |
|
|
|
check:SetFont(MaterialIconsRegular:GetFont(), self.defaults.height, "") |
|
|
|
check:SetFont(MaterialSymbolsRounded:GetFont(), self.defaults.height, "") |
|
|
|
-- Setting self.check again is pointless when CreateRegion already does it.... |
|
|
|
-- Setting self.check again is pointless when CreateRegion already does it.... |
|
|
|
-- self.check = check |
|
|
|
-- self.check = check |
|
|
|
|
|
|
|
|
|
|
|