Skip to content

Commit

Permalink
xlim isolation depends on Apply limits checkbox now
Browse files Browse the repository at this point in the history
  • Loading branch information
grayskripko committed Nov 14, 2016
1 parent dc4cff9 commit a4f0fb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/ggraptR/reactives/plotWidgetVals.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ color <- reactive({
})

treatColorAsFactor <- reactive({
if (is.null(input$treatColorAsFactor)) FALSE else input$treatColorAsFactor
!is.null(input$treatColorAsFactor) && input$treatColorAsFactor
})

sizeOrig <- reactive({
Expand Down Expand Up @@ -187,12 +187,12 @@ facetGrids <- reactive({

xlim <- reactive({
input$xlim
if (isolate(!displayXlimCond())) NULL else input$xlim
if (!displayXlimCond()) NULL else input$xlim
})

ylim <- reactive({
input$ylim
if (isolate(!displayYlimCond())) NULL else input$ylim
if (!displayYlimCond()) NULL else input$ylim
})

plotTitle <- reactive({
Expand Down

0 comments on commit a4f0fb3

Please sign in to comment.