Skip to content

Commit

Permalink
Increase stick size
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewda committed Jul 11, 2023
1 parent 0692c41 commit 735ddd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/joystick/joystick.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ class Joystick extends StatelessWidget {

final double size;

const Joystick({Key? key, required this.listener, this.size = 200}) : super(key: key);
const Joystick({Key? key, required this.listener, this.size = 280}) : super(key: key);

@override
Widget build(BuildContext context) {
return joystick.Joystick(
listener: listener,
base: JoystickBase(size: size),
stick: JoystickStick(size: size * 0.3),
stick: JoystickStick(size: size * 0.25),
period: const Duration(milliseconds: 5),
);
}
Expand Down

0 comments on commit 735ddd7

Please sign in to comment.