commit 8c51113d6ef766e8b4500e1ad6f2cdb7b867fcf2
parent ee286a0aefb98f10ff18d1ee21f1549c4c36985a
Author: Daniel Barlow <dan@telent.net>
Date: Sat, 7 Jun 2025 20:49:35 +0100
fix arrow to point in the right direction
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/maps/main.fnl b/pkgs/maps/main.fnl
@@ -340,7 +340,7 @@ label.readout {
(fn [self g]
(g:set_source_rgb 0.4 0.0 0.1)
(g:translate (// height 2) (// height 2))
- (g:rotate (/ (* -2 app-state.course math.pi) 360) )
+ (g:rotate (* (/ app-state.course 180) math.pi))
(g:translate (// height -2) (// height -2))
(g:set_line_width 4)
(g:move_to 10 height)