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
 | 
			
		||||
 | 
			
		||||
    task.delay(2, function()
 | 
			
		||||
        self:Update("Size")
 | 
			
		||||
    end)
 | 
			
		||||
    task.delay(2, self.Update, self, "Size")
 | 
			
		||||
end)
 | 
			
		||||
 | 
			
		||||
component:OnUpdate("Size", function(self: types.Component, _: {}?)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue