Skip to content

Commit

Permalink
better docs, see phetsims/joist#689
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet authored and jonathanolson committed Mar 18, 2021
1 parent 1ac17ad commit 0f8fb2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/listeners/PressListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ class PressListener {

callback && callback();

// Unset these properties after the Property value change and after invoking the callbacks so that they can be
// referenced.
// These properties are cleared now, at the end of the onRelease, in case they were needed by the callback or in
// listeners on the pressed Property.
this.pointer.cursor = null;
this.pointer = null;
this.pressedTrail = null;
Expand Down

0 comments on commit 0f8fb2c

Please sign in to comment.