Delay Size Update

This commit is contained in:
ClintUNI 2024-05-01 11:35:45 +02:00
parent 2d7b763eeb
commit 0a8a539ad5

View file

@ -15,9 +15,7 @@ component:OnBuild(function(self: types.Component): ()
self.Frame.Parent = self.Parent.Frame self.Frame.Parent = self.Parent.Frame
task.delay(2, function() task.delay(2, self.Update, self, "Size")
self:Update("Size")
end)
end) end)
component:OnUpdate("Size", function(self: types.Component, _: {}?) component:OnUpdate("Size", function(self: types.Component, _: {}?)