fix formatting

This commit is contained in:
lukas-heiligenbrunner 2022-10-28 17:09:38 +02:00
parent ecfc894214
commit c5bce47222

View File

@ -70,7 +70,6 @@ class _DrawingPageState extends State<DrawingPage> {
alpha /= (2 * pi * 2);
alpha += .5;
double thickness = basetickness * alpha;
return thickness;
}
@ -119,8 +118,8 @@ class _DrawingPageState extends State<DrawingPage> {
double newWidth = _calcTiltedWidth(5.0, event.tilt);
if (_strokes.last.points.length > 1) {
newWidth = _calcAngleDependentWidth(
pts.last, pts[pts.length - 2], newWidth);
newWidth =
_calcAngleDependentWidth(pts.last, pts[pts.length - 2], newWidth);
}
setState(() {