размер шрифта
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user