Activate click hats on mouse up to match 2.0

This commit is contained in:
Ray Schamp 2017-02-20 16:22:13 -05:00
parent a4578ba086
commit 11e28111c5

View file

@ -46,7 +46,7 @@ Mouse.prototype.postData = function (data) {
}
if (typeof data.isDown !== 'undefined') {
this._isDown = data.isDown;
if (this._isDown) {
if (!this._isDown) {
this._activateClickHats(data.x, data.y);
}
}