fix formatting
This commit is contained in:
parent
ecfc894214
commit
c5bce47222
@ -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(() {
|
||||
|
Loading…
Reference in New Issue
Block a user