Skip to content

Commit

Permalink
Better variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed Dec 15, 2021
1 parent b7dc6bf commit 6716369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/plugin.tooltip.js
Expand Up @@ -1004,7 +1004,7 @@ export class Tooltip extends Element {
if (changed || positionChanged) {
this._active = active;
this._eventPosition = eventPosition;
this._ignoreOneReplay = true;
this._ignoreReplayEvents = true;
this.update(true);
}
}
Expand All @@ -1017,10 +1017,10 @@ export class Tooltip extends Element {
* @returns {boolean} true if the tooltip changed
*/
handleEvent(e, replay, inChartArea = true) {
if (replay && this._ignoreOneReplay) {
if (replay && this._ignoreReplayEvents) {
return false;
}
this._ignoreOneReplay = false;
this._ignoreReplayEvents = false;

const options = this.options;
const lastActive = this._active || [];
Expand Down

0 comments on commit 6716369

Please sign in to comment.