Menu screen enhancements
* Increase background blur * Reduce overlay transparency * Override local button padding to reduce size
This commit is contained in:
parent
123f4749f9
commit
1eae15a1a8
@ -18,7 +18,7 @@ class AppBackdrop extends StatelessWidget {
|
|||||||
final double normalStrength = clampDouble(strength, 0, 1);
|
final double normalStrength = clampDouble(strength, 0, 1);
|
||||||
if (settingsLogic.useBlurs) {
|
if (settingsLogic.useBlurs) {
|
||||||
return BackdropFilter(
|
return BackdropFilter(
|
||||||
filter: ImageFilter.blur(sigmaX: normalStrength * 5.0, sigmaY: normalStrength * 5.0),
|
filter: ImageFilter.blur(sigmaX: normalStrength * 15.0, sigmaY: normalStrength * 15.0),
|
||||||
child: child ?? SizedBox.expand(),
|
child: child ?? SizedBox.expand(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,6 @@ class LocaleSwitcher extends StatelessWidget with GetItMixin {
|
|||||||
await settingsLogic.changeLocale(newLocale);
|
await settingsLogic.changeLocale(newLocale);
|
||||||
}
|
}
|
||||||
|
|
||||||
return AppBtn.from(text: $strings.localeSwapButton, onPressed: handleSwapLocale);
|
return AppBtn.from(text: $strings.localeSwapButton, onPressed: handleSwapLocale, padding: EdgeInsets.all($styles.insets.sm));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@ class _HomeMenuState extends State<HomeMenu> {
|
|||||||
/// Backdrop / Underlay
|
/// Backdrop / Underlay
|
||||||
AppBackdrop(
|
AppBackdrop(
|
||||||
strength: .5,
|
strength: .5,
|
||||||
child: Container(color: $styles.colors.greyStrong.withOpacity(.7)),
|
child: Container(color: $styles.colors.greyStrong.withOpacity(.5)),
|
||||||
),
|
),
|
||||||
|
|
||||||
PopNavigatorUnderlay(),
|
PopNavigatorUnderlay(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user