Skip to content

Commit

Permalink
fixed the cursor highlight issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Strayer committed Jul 28, 2017
1 parent 05f7967 commit 40bf5b7
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion demo/drawr_demo.R
Expand Up @@ -33,7 +33,7 @@ server <- function(input, output) {
random_data <- data_frame(time = 1:30,
metric = time * sin(time / 6) + rnorm(30))

random_data$metric[c(3,4,5)] = NA
# random_data$metric[c(3,4,5)] = NA

#server side call of the drawr module
drawChart <- callModule(
Expand Down
4 changes: 2 additions & 2 deletions inst/htmlwidgets/libs/drawr.js

Large diffs are not rendered by default.

Binary file modified inst/js/jsDev/.DS_Store
Binary file not shown.
14 changes: 14 additions & 0 deletions inst/js/jsDev/drawr/.vscode/launch.json
@@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}/src/main.js"
}
]
}
4 changes: 2 additions & 2 deletions inst/js/jsDev/drawr/demo/drawr.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/js/jsDev/drawr/src/ChartSetup.js
Expand Up @@ -33,7 +33,7 @@ export function ChartSetup(config) {
const sel = d3.select(domTarget).html('');

// append the svg to the div
const svg = sel.append('svg');
const svg = sel.append('svg').style('cursor', 'default');

// append a g element shifted up by margins
const svgG = svg
Expand Down

0 comments on commit 40bf5b7

Please sign in to comment.