From 8c51113d6ef766e8b4500e1ad6f2cdb7b867fcf2 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sat, 7 Jun 2025 20:49:35 +0100 Subject: [PATCH] fix arrow to point in the right direction --- pkgs/maps/main.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/maps/main.fnl b/pkgs/maps/main.fnl index 5715416..d4089bb 100644 --- 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)