docs(Font): record short-line crossfade pop tradeoff on WINDOW_MIN

This commit is contained in:
Ilia Mashkov
2026-06-03 16:13:16 +03:00
parent 5084df3914
commit 99e9a1fb2c
@@ -15,6 +15,11 @@
const WINDOW_RATIO = 1 / 3;
/**
* Smallest band for a non-empty line — guarantees at least one crossfading char.
*
* Accepted tradeoff: short lines now get a band of 12, so a fast slider drag
* can unmount a char before its ~100ms opacity crossfade finishes, a slight pop.
* Worth it for the "bulk committed, small band shimmering" look on short lines;
* raising this trades that pop back for less committed bulk.
*/
const WINDOW_MIN = 1;
/**