размер шрифта

This commit is contained in:
Jganenok
2026-05-28 21:29:47 +07:00
parent 1481a4af2c
commit d8a2b8ec6d
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class AppFonts {
static const String customPrefKey = 'app_custom_fonts';
static const String customPrefix = 'g:';
static const double minScale = 0.85;
static const double minScale = 0.60;
static const double maxScale = 1.35;
static const double defaultScale = 1.0;
@@ -378,7 +378,9 @@ class _FontSizeControl extends StatelessWidget {
value: AppFonts.clampScale(scale),
min: AppFonts.minScale,
max: AppFonts.maxScale,
divisions: 10,
divisions:
((AppFonts.maxScale - AppFonts.minScale) / 0.05)
.round(),
onChanged: onChanged,
onChangeEnd: onChangeEnd,
),