From 774fdf980d006068ba57b8c533920f57f5d87f28 Mon Sep 17 00:00:00 2001 From: arturplaczek Date: Thu, 28 Apr 2022 22:24:12 +0200 Subject: [PATCH] fix: change tap are on PinballButton --- lib/game/view/widgets/pinball_button.dart | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/game/view/widgets/pinball_button.dart b/lib/game/view/widgets/pinball_button.dart index db388ef1..0f060497 100644 --- a/lib/game/view/widgets/pinball_button.dart +++ b/lib/game/view/widgets/pinball_button.dart @@ -21,17 +21,17 @@ class PinballButton extends StatelessWidget { @override Widget build(BuildContext context) { - return InkWell( - onTap: _onPressed, - child: DecoratedBox( - decoration: BoxDecoration( - image: DecorationImage( - image: AssetImage( - Assets.images.selectCharacter.pinballButton.keyName, - ), + return DecoratedBox( + decoration: BoxDecoration( + image: DecorationImage( + image: AssetImage( + Assets.images.selectCharacter.pinballButton.keyName, ), ), - child: Center( + ), + child: Center( + child: InkWell( + onTap: _onPressed, child: Padding( padding: const EdgeInsets.symmetric( horizontal: 32,