We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb2cdf1 commit 73b206fCopy full SHA for 73b206f
lib/widgets/joystick.dart
@@ -38,7 +38,7 @@ class _ViamBaseJoystickState extends State<ViamBaseJoystick> {
38
}
39
40
void callSetPower(StickDragDetails details) {
41
- touchActive = (details.x != 0 && details.y != 0);
+ touchActive = (details.x != 0 || details.y != 0);
42
widget.base.setPower(
43
Vector3()..y = details.y * -1,
44
Vector3()..z = details.x * -1,
0 commit comments