Somewhat improved map rays
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
+2
-2
@@ -643,10 +643,10 @@ class MapRayPainter extends CustomPainter {
|
||||
for (final Ray ray in rayData.rays) {
|
||||
canvas.drawLine(
|
||||
playerCenter,
|
||||
ray.hitPosition,
|
||||
ray.hitPosition - const Offset(1, 1),
|
||||
Paint()
|
||||
..color = Colors.cyan
|
||||
..strokeWidth = 5,
|
||||
..strokeWidth = 1,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user