add colour/translucency to road name background

this is an experiment in making them look less like road when the
placement causes them to run off the end of the actual way
This commit is contained in:
Daniel Barlow 2025-06-04 00:16:58 +01:00
parent c53120ab2a
commit e5e1060c3f

View File

@ -175,7 +175,7 @@ label.readout {
(tset seen-road-names n true)
(g:save)
(g:set_line_width h)
(g:set_source_rgb 1 1 1)
(g:set_source_rgba 1 0.95 1 0.7)
(g:move_to (- x 1) (- y 1))
(g:rotate angle)
(g:rel_line_to (+ w 1) 0)