Skip to content

Commit

Permalink
Update src/helpers/helpers.dom.js
Browse files Browse the repository at this point in the history
Only thing needed actually is the update of chartjs-test-utils to 0.4.0
  • Loading branch information
kurkle committed Mar 23, 2022
1 parent d50c746 commit 597276e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/helpers.dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function getCanvasPosition(e, canvas) {
* @returns {{x: number, y: number}}
*/
export function getRelativePosition(evt, chart) {
if (evt && ('native' in evt)) {
if ('native' in evt) {
return evt;
}

Expand Down

0 comments on commit 597276e

Please sign in to comment.