Skip to content

Commit

Permalink
Make charts non interactable by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Snekw committed Nov 23, 2022
1 parent 8b2a701 commit 2d01298
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ const monkeyPatchLightningChartInterfaceFunction = (func) => {
// the original user given arguments take priority over the new defaults
args[0] = Object.assign({}, {
maxFps: -1,
disableAnimations: true
disableAnimations: true,
interactable: false,
}, args[0])

// call the original function with modified arguments
Expand Down

0 comments on commit 2d01298

Please sign in to comment.