mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-08-06 18:24:29 +08:00
Photo Gallery's opacity eases off in high contrast mode.
This commit is contained in:
@ -292,7 +292,7 @@ class _PhotoGalleryState extends State<PhotoGallery> {
|
|||||||
Positioned.fill(
|
Positioned.fill(
|
||||||
child: AnimatedOpacity(
|
child: AnimatedOpacity(
|
||||||
duration: $styles.times.med,
|
duration: $styles.times.med,
|
||||||
opacity: isSelected ? 0 : .7,
|
opacity: isSelected ? 0 : ($styles.highContrast ? 0.4 : 0.7),
|
||||||
child: ColoredBox(color: $styles.colors.black),
|
child: ColoredBox(color: $styles.colors.black),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user