Skip to content

Commit 92c0f0c

Browse files
committed
book icon
1 parent 66719ca commit 92c0f0c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/sharingButton.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ sharingButton <- function() {
33
list(
44
name = "Collaborate",
55
icon = list(
6-
width = 1000,
7-
ascent = 850,
6+
width = 1800,
7+
ascent = 1500,
88
descent = -150,
99
path = sharingPath
1010
),
1111
click = htmlwidgets::JS(sprintf(
1212
"function(gd) {
1313
// is this being viewed in RStudio?
1414
if (location.search == '?viewer_pane=1') {
15-
alert('To learn about sharing options, visit:\\n %s');
15+
alert('To learn about plotly for collaboration, visit:\\n %s');
1616
} else {
1717
window.open('%s', '_blank');
1818
}
1919
}", url, url))
2020
)
2121
}
2222

23-
sharingPath <- 'm214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z'
23+
sharingPath <- 'M1703 478q40 57 18 129l-275 906q-19 64-76.5 107.5t-122.5 43.5h-923q-77 0-148.5-53.5t-99.5-131.5q-24-67-2-127 0-4 3-27t4-37q1-8-3-21.5t-3-19.5q2-11 8-21t16.5-23.5 16.5-23.5q23-38 45-91.5t30-91.5q3-10 .5-30t-.5-28q3-11 17-28t17-23q21-36 42-92t25-90q1-9-2.5-32t.5-28q4-13 22-30.5t22-22.5q19-26 42.5-84.5t27.5-96.5q1-8-3-25.5t-2-26.5q2-8 9-18t18-23 17-21q8-12 16.5-30.5t15-35 16-36 19.5-32 26.5-23.5 36-11.5 47.5 5.5l-1 3q38-9 51-9h761q74 0 114 56t18 130l-274 906q-36 119-71.5 153.5t-128.5 34.5h-869q-27 0-38 15-11 16-1 43 24 70 144 70h923q29 0 56-15.5t35-41.5l300-987q7-22 5-57 38 15 59 43zm-1064 2q-4 13 2 22.5t20 9.5h608q13 0 25.5-9.5t16.5-22.5l21-64q4-13-2-22.5t-20-9.5h-608q-13 0-25.5 9.5t-16.5 22.5zm-83 256q-4 13 2 22.5t20 9.5h608q13 0 25.5-9.5t16.5-22.5l21-64q4-13-2-22.5t-20-9.5h-608q-13 0-25.5 9.5t-16.5 22.5z'

0 commit comments

Comments
 (0)