some color adjustments

This commit is contained in:
2022-11-03 00:39:29 +01:00
parent c996d7fc7d
commit 019cd2dad0
6 changed files with 85 additions and 74 deletions

View File

@ -43,8 +43,8 @@ class PaintController extends ChangeNotifier {
alpha /= (2 * pi * 2);
alpha += .5;
double thickness = basetickness * alpha;
return thickness;
basetickness * alpha;
return basetickness;
}
void pointDownEvent(Offset offset, PointerDownEvent e) async {
@ -60,7 +60,7 @@ class PaintController extends ChangeNotifier {
[Point(offset, _calcTiltedWidth(3.0, e.tilt))],
strokeid,
activePen == Pen.pen
? Colors.black26
? const Color(0xFF444444)
: Colors.yellow.withOpacity(.5)));
file.addStroke(strokeid);