refactor: same line assignment

Co-authored-by: Erick <erickzanardoo@gmail.com>
pull/15/head
Alejandro Santiago 4 years ago committed by GitHub
parent d8c9530419
commit e4e22a6d71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -181,8 +181,7 @@ class FlipperAnchorRevoluteJointDef extends RevoluteJointDef {
enableLimit = true;
final angle = flipper.side.isLeft ? _sweepingAngle : -_sweepingAngle;
lowerAngle = angle;
upperAngle = angle;
lowerAngle = upperAngle = angle;
}
/// The total angle of the arc motion.

Loading…
Cancel
Save