Mastodon Feed: Post

Mastodon Feed

andreu@andreubotella.com ("Andreu Botella :verified_enby:") wrote:

This is the smallest values that trigger clamping by that many lines, on a test with 5 lines. From what I can tell, it behaves like clamping by max(1, floor((percentage / 100) * (numLines + 1))) lines.

The numLines + 1 multiplier means you can clamp by the full number of lines (5 here) with 84%.

0% → line 1 34% → line 2 50% → line 3 67% → line 4 84% → line 5