Remove pool element from TajMahal Hero
This commit is contained in:
parent
cdcc9284d5
commit
269f4062e8
@ -56,17 +56,20 @@ class TajMahalIllustration extends StatelessWidget {
|
|||||||
alignment: Alignment(0, config.shortMode ? 1 : -.15),
|
alignment: Alignment(0, config.shortMode ? 1 : -.15),
|
||||||
child: FractionallySizedBox(
|
child: FractionallySizedBox(
|
||||||
widthFactor: config.shortMode ? 1 : 1.7,
|
widthFactor: config.shortMode ? 1 : 1.7,
|
||||||
child: WonderHero(config, 'taj-mg',
|
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
children: [
|
||||||
Image.asset('$assetPath/taj-mahal.png', opacity: anim, fit: BoxFit.cover),
|
WonderHero(
|
||||||
|
config,
|
||||||
|
'taj-mg',
|
||||||
|
child: Image.asset('$assetPath/taj-mahal.png', opacity: anim, fit: BoxFit.cover),
|
||||||
|
),
|
||||||
if (!config.shortMode)
|
if (!config.shortMode)
|
||||||
FractionalTranslation(
|
FractionalTranslation(
|
||||||
translation: Offset(0, 1.33),
|
translation: Offset(0, 1.33),
|
||||||
child: Image.asset('$assetPath/pool.png', opacity: anim, fit: BoxFit.cover),
|
child: Image.asset('$assetPath/pool.png', opacity: anim, fit: BoxFit.cover),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user