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 /= (2 * pi * 2);
|
||||||
alpha += .5;
|
alpha += .5;
|
||||||
|
|
||||||
|
|
||||||
double thickness = basetickness * alpha;
|
double thickness = basetickness * alpha;
|
||||||
return thickness;
|
return thickness;
|
||||||
}
|
}
|
||||||
@ -119,8 +118,8 @@ class _DrawingPageState extends State<DrawingPage> {
|
|||||||
|
|
||||||
double newWidth = _calcTiltedWidth(5.0, event.tilt);
|
double newWidth = _calcTiltedWidth(5.0, event.tilt);
|
||||||
if (_strokes.last.points.length > 1) {
|
if (_strokes.last.points.length > 1) {
|
||||||
newWidth = _calcAngleDependentWidth(
|
newWidth =
|
||||||
pts.last, pts[pts.length - 2], newWidth);
|
_calcAngleDependentWidth(pts.last, pts[pts.length - 2], newWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
setState(() {
|
setState(() {
|
||||||
|
Loading…
Reference in New Issue
Block a user