| 401 | } |
| 402 | |
| 403 | fun List<ElasticAnimation.Block>.allChildren(): List<ElasticAnimation.Block> { |
| 404 | var a = mutableListOf<ElasticAnimation.Block>() |
| 405 | a.addAll(this) |
| 406 | forEach { |
| 407 | a.addAll(it.childrenDuration.allChildren()) |
| 408 | } |
| 409 | return a |
| 410 | } |
| 411 | |
| 412 |