Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:tomroh/leaflegend into dev
Browse files Browse the repository at this point in the history
syncing
  • Loading branch information
tomroh committed May 2, 2024
2 parents a66eb0e + 02de0c6 commit c7c727c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/legend.R
Original file line number Diff line number Diff line change
Expand Up @@ -1511,7 +1511,7 @@ makeGradient <- function(breaks, colors, height, width, id, fillOpacity,
curvePercent <- ifelse(shape == 'stadium', '10%', '0')
if (orientation == 'vertical') {
htmltools::tagList(
htmltools::tags$def(
htmltools::tags$defs(
htmltools::tags$linearGradient(
id = id,
x1 = 0, y1 = 0, x2 = 0, y2 = 1,
Expand All @@ -1528,7 +1528,7 @@ makeGradient <- function(breaks, colors, height, width, id, fillOpacity,
)
} else {
htmltools::tagList(
htmltools::tags$def(
htmltools::tags$defs(
htmltools::tags$linearGradient(
id = id,
x1 = 0, y1 = 0, x2 = 1, y2 = 0,
Expand Down

0 comments on commit c7c727c

Please sign in to comment.