diff --git a/packages/pinball_ui/lib/src/widgets/pinball_button.dart b/packages/pinball_ui/lib/src/widgets/pinball_button.dart index ee9b5c54..febedf4c 100644 --- a/packages/pinball_ui/lib/src/widgets/pinball_button.dart +++ b/packages/pinball_ui/lib/src/widgets/pinball_button.dart @@ -30,8 +30,10 @@ class PinballButton extends StatelessWidget { ), ), child: Center( - child: GestureDetector( + child: InkWell( onTap: onTap, + highlightColor: PinballColors.transparent, + splashColor: PinballColors.transparent, child: Padding( padding: const EdgeInsets.symmetric( horizontal: 32, diff --git a/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart b/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart index c122f5b3..6fe27b77 100644 --- a/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart +++ b/packages/pinball_ui/lib/src/widgets/pinball_dpad_button.dart @@ -53,8 +53,10 @@ class PinballDpadButton extends StatelessWidget { Widget build(BuildContext context) { return Material( color: PinballColors.transparent, - child: GestureDetector( + child: InkWell( onTap: onTap, + highlightColor: PinballColors.transparent, + splashColor: PinballColors.transparent, child: Image.asset( direction.toAsset(), width: 60,