Skip to content

Commit

Permalink
Fix corner case in (lispkit draw char bar) preventing a legend to b…
Browse files Browse the repository at this point in the history
…e drawn unless there is a bar segment description.
  • Loading branch information
objecthub committed Dec 31, 2024
1 parent bb05f75 commit f1e7d9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@
#t)
(bar-chart-stroke-width config))))
; Draw legend
(if (legend-config? legend-config)
(if (and (legend-config? legend-config) (pair? bcolor))
(draw-legend bcolor
bounds
(bar-chart-color config)
Expand Down

0 comments on commit f1e7d9c

Please sign in to comment.