fix permission error on desktop
This commit is contained in:
1 parent
65c851a416
commit
ac1f388dd8
3 files changed
+9
-10
No files matched your search
@@ -59,9 +59,8 @@ class MyPainter extends CustomPainter {
|
||||
Offset pt2 = stroke.points[i + 1].point;
|
||||
pt2 = _translatept(pt2, size);
|
||||
|
||||
// final strokewidth = _calcAngleDependentWidth(pt1, pt2, stroke.points[i].thickness);
|
||||
canvas.drawLine(
|
||||
pt1, pt2, paint..strokeWidth = stroke.points[i].thickness);
|
||||
pt1, pt2, paint..strokeWidth = stroke.points[i].thickness * zoom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user