function Window.UpdateWindowHeight(T)local x=Gui.AbsoluteCanvasSize.Y Gui.Size=UDim2.new(Gui.Size.X.Scale,Gui.Size.X.Offset,0,x>WINDOW_MAX_HEIGHT and WINDOW_MAX_HEIGHT or x)Gui.CanvasPosition=Vector2.new(0,x)end

function Window:UpdateWindowHeight()
	local windowHeight = Gui.AbsoluteCanvasSize.Y

	Gui.Size = UDim2.new(
		Gui.Size.X.Scale,
		Gui.Size.X.Offset,
		0,
		windowHeight > WINDOW_MAX_HEIGHT and WINDOW_MAX_HEIGHT or windowHeight
	)

	Gui.CanvasPosition = Vector2.new(0, windowHeight)
end
