Skip to content

Commit f51227f

Browse files
committed
Enable ggiraph zoom option.
1 parent 19971a7 commit f51227f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# dv.edish 2.0.2-9000
22

33
- Update scrollbar settings for better handling with new Shiny bootstrap.
4+
- Enable zoom option.
45

56
# dv.edish 2.0.2
67

R/mod_edish.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,8 @@ edish_server <- function(
401401
ggiraph::opts_sizing(rescale = TRUE),
402402
ggiraph::opts_hover(css = "stroke: blue; stroke-width: 1px; fill-opacity: 0.8;"),
403403
ggiraph::opts_selection(type = "single", css = "stroke: black; stroke-width: 1px;"),
404-
ggiraph::opts_tooltip(css = "border:none; padding:0px;")
404+
ggiraph::opts_tooltip(css = "border:none; padding:0px;"),
405+
ggiraph::opts_zoom(min = 1, max = 5)
405406
)
406407
)
407408
})

0 commit comments

Comments
 (0)