( current: LayoutDamageRows | null, rect: Pick<Rectangle, 'y' | 'height'>, )
| 35 | } |
| 36 | |
| 37 | export function addLayoutDamageRect( |
| 38 | current: LayoutDamageRows | null, |
| 39 | rect: Pick<Rectangle, 'y' | 'height'>, |
| 40 | ): LayoutDamageRows | null { |
| 41 | return addLayoutDamageRows(current, rect.y, rect.height) |
| 42 | } |
| 43 | |
| 44 | export function addLayoutTransitionDamage( |
| 45 | current: LayoutDamageRows | null, |
no test coverage detected