Decrease minimum selectable font size from 12px to 8px

This commit is contained in:
James Babcock committed 2026-09-05 16:56:29 -07:00
1 parent 1524766996
commit c9a35b0922
3 files changed
+13 -11

No files matched your search

+2 -2
View File
@@ -34,10 +34,10 @@ const MAX_SIZE_GROWTH = 48;
/**
* Guaranteed line-height range of getDefaultSmallFont, which UI layouts may
* rely on (getDefaultMediumFont's range follows: 16..29). The font picker
* disables sizes outside it, and resolution falls back to the bitmap face if
* hides sizes outside it, and resolution falls back to the bitmap face if
* a stored selection somehow lands outside (e.g. the font file changed).
*/
export const SMALL_FONT_MIN_LINE_HEIGHT = 12;
export const SMALL_FONT_MIN_LINE_HEIGHT = 8;
export const SMALL_FONT_MAX_LINE_HEIGHT = 21;
/** Whether a small-font selection at this path+size satisfies the UI bound. */