Skip to content

Commit

Permalink
Fix misalignment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Dec 15, 2023
1 parent 85e33eb commit 2d8a512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/draw-keys.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ draw_key_richtext <- function(data, params, size) {
x = unit(just$hjust, "npc"),
y = unit(just$vjust, "npc"),
rot = data$angle,
hjust = just$hjust,
vjust = just$vjust,
hjust = data$hjust,
vjust = data$vjust,
gp = text_gp,
box_gp = box_gp,
# Defaults for unit input are the same as `geom_richtext()` formals
Expand Down

0 comments on commit 2d8a512

Please sign in to comment.