Skip to content

Commit

Permalink
fixed axes tesxt options controls
Browse files Browse the repository at this point in the history
  • Loading branch information
pvictor committed Apr 18, 2024
1 parent 8e16804 commit 71395d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/module-controls.R
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ controls_server <- function(id,
observe({
theme_labs <- labs_r$theme()
theme_appearance <- theme_r$inputs()
axes_appearance <- axes_r$inputs()
outputs$theme <- list(
theme = theme_appearance$theme,
args = dropNulls(
Expand All @@ -412,8 +413,8 @@ controls_server <- function(id,
plot.caption = theme_labs$caption,
axis.title.y = theme_labs$y,
axis.title.x = theme_labs$x,
axis.text.y = theme_appearance$axis_text_y,
axis.text.x = theme_appearance$axis_text_x,
axis.text.y = axes_appearance$axis_text_y,
axis.text.x = axes_appearance$axis_text_x,
legend.text = theme_appearance$legend_text,
legend.title = theme_appearance$legend_title
)
Expand Down

0 comments on commit 71395d2

Please sign in to comment.