(cmp: SurfacedComposition)
| 781 | } |
| 782 | |
| 783 | function isEmptyComposition(cmp: SurfacedComposition): boolean { |
| 784 | return ( |
| 785 | cmp.tweens.length === 0 && |
| 786 | cmp.traces.length === 0 && |
| 787 | cmp.cssKeyframes.length === 0 && |
| 788 | cmp.anime.length === 0 |
| 789 | ); |
| 790 | } |
| 791 | |
| 792 | // Print tweens not already shown as part of a trace (a drawn stroke, or its |
| 793 | // internal pen-up jump). |