@@ -23,7 +23,7 @@ CoursePlot = CpObject()
2323-- x = 0, y = 0 is the bottom left corner of the screen, terrainSize is in meters
2424function CoursePlot :init ()
2525 self .lineThickness = 2 / g_screenHeight -- 2 pixels
26- self .arrowThickness = 3 / g_screenHeight -- 3 pixels
26+ self .arrowThickness = 10 / g_screenHeight -- 10 pixels
2727 -- the normal FS22 blue
2828 self .color = {CpGuiUtil .getNormalizedRgb (42 , 193 , 237 )}
2929 -- a lighter shade of the same color
173173--- @param a number | nil
174174--- @param isHudMap boolean | nil
175175function CoursePlot :drawArrow (map , x , z , rotation , r , g , b , a , isHudMap )
176- local zoom = isHudMap and map .layout :getIconZoom () or map .fullScreenLayout :getIconZoom ()
176+ local zoom = map .layout :getIconZoom () * map .layout :getIconZoom ()
177177 if isHudMap and map .state == IngameMap .STATE_MAP then
178178 --- When the hud is completely open, then the signs need to be scaled down.
179179 zoom = zoom * 0.5
@@ -226,7 +226,7 @@ function CoursePlot:draw(map, isHudMap)
226226 -- render the start and stop signs
227227
228228 local signSizeMeters = 0.02
229- local zoom = isHudMap and map .layout :getIconZoom () or map . fullScreenLayout : getIconZoom ()
229+ local zoom = map .layout :getIconZoom ()
230230 if isHudMap and map .state == IngameMap .STATE_MAP then
231231 --- When the hud is completely open, then the signs need to be scaled down.
232232 zoom = zoom * 0.5
0 commit comments