get rid of the tile.track ternary. There is something funky with the layout. With two video tiles displayed the top one has a taller shadow than the bottom one. And the top one's shadow looks…
Edited and opened manually at https://gitea.coracle.social/coracle/flotilla/pulls/355
It's not really a uniform grid is it? It's a grid where the last row is centered. Uniform grid makes me think of a screen door.
There is still a major bug with this. When enabling the second video the tile for the second video is rendered half off screen. We should only require scrolling when the tiles reach some unacceptable minimum size. Somewhere around 6 or 8 tiles on a standard portrait sized phone? Try again.
I don't like that we are calling these "keys". Can we come up with a more semantically meaningful name?
prefer full words in these vars too: boundingBoxWidth, verticalOverflow, etc.
@hudson I want to take a different approach here, what's here doesn't seem to make the best use of space and it ends up with very horizontally stretched video at some points.