isHold becomes true when "hold" event of axes is fired, and there is no logic to return it to false.
This can cause unexpected behavior in the code such as this._isAnimation = !!isHold.
This returns isHold to false when the release event of axes is fired.
Details
isHold
becomestrue
when "hold" event of axes is fired, and there is no logic to return it to false. This can cause unexpected behavior in the code such asthis._isAnimation = !!isHold
.This returns
isHold
tofalse
when the release event of axes is fired.