Delay Size Update
This commit is contained in:
parent
2d7b763eeb
commit
0a8a539ad5
1 changed files with 1 additions and 3 deletions
|
@ -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, _: {}?)
|
||||||
|
|
Loading…
Reference in a new issue