You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In hover_label_test.js#L20 the tests there have evt.clientX and evt.clientY, but graph_interact.js#L417 means that if evt.target is not set, then xpx and ypx will be used, and since they are unset, half the length of the axis is used. Since clientX and clientY were meant to be set to half of the graph anyways, it winds up being the same thing, but for different reasons.
The text was updated successfully, but these errors were encountered:
In hover_label_test.js#L20 the tests there have
evt.clientX
andevt.clientY
, but graph_interact.js#L417 means that ifevt.target
is not set, thenxpx
andypx
will be used, and since they are unset, half the length of the axis is used. SinceclientX
andclientY
were meant to be set to half of the graph anyways, it winds up being the same thing, but for different reasons.The text was updated successfully, but these errors were encountered: