Follow

Worklog: finally solved a tricky UI problem today in Beat Maker. I want to give people a good experience editing on any device but the full grid doesn't always fit. 🤔
Solution:
1. Resize observer on the grid.
2. On resize, make all beats display for an instant and then measure how many are visible in the scroll area, then set their display back to what it was before.
3. Find the next lowest power of two beats that will fit, and divide the grid up into pages of that size.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!