fix arrow to point in the right direction

This commit is contained in:
Daniel Barlow 2025-06-07 20:49:35 +01:00
parent ee286a0aef
commit 8c51113d6e

View File

@ -340,7 +340,7 @@ label.readout {
(fn [self g] (fn [self g]
(g:set_source_rgb 0.4 0.0 0.1) (g:set_source_rgb 0.4 0.0 0.1)
(g:translate (// height 2) (// height 2)) (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:translate (// height -2) (// height -2))
(g:set_line_width 4) (g:set_line_width 4)
(g:move_to 10 height) (g:move_to 10 height)