This commit is contained in:
2019-09-10 09:29:53 +02:00
parent 9413b30151
commit c73fefb68d
8 changed files with 54 additions and 136 deletions

View File

@ -29,5 +29,7 @@ function ns.SizeToFit(self)
-- Now resize ourself
local _, _, width, height = self:GetBoundsRect()
self:SetSize(width, height)
if(width ~= nil and height ~= nil) then
self:SetSize(width, height)
end
end

View File

@ -32,7 +32,7 @@ end
local function Sound()
PlaySound("UChatScrollButton")
PlaySound(1115)
end