Skip to content

Commit

Permalink
vastly speeds up tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed Apr 19, 2019
1 parent 0e7f353 commit 249b5bc
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
1 change: 0 additions & 1 deletion app/d3plus.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ export default {
}
},
fill: findColor,
hoverOpacity: 0.5,
labelConfig: {
fontFamily: () => "Pathway Gothic One",
fontSize: () => 13,
Expand Down
3 changes: 0 additions & 3 deletions app/pages/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ class Map extends Component {
colorScalePosition: "bottom",
fitObject: "/topojson/State.json",
fitFilter: d => !["02", "15", "43", "60", "66", "69", "72", "78"].includes(d.id.slice(7)),
shapeConfig: {
hoverOpacity: 1
},
title: false,
zoomScroll: true
}}
Expand Down
3 changes: 0 additions & 3 deletions app/pages/Visualize.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,6 @@ class Visualize extends Component {
},
colorScalePosition: "bottom",
detectResizeDelay: 100,
shapeConfig: {
hoverOpacity: 1
},
zoomScroll: true
}}
topojson={{
Expand Down
47 changes: 27 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 249b5bc

Please sign in to comment.