Fixed Typo Causing MouseUp to not Register

There was a typo in one of the instances of the _buttonMask field
(it was written as _buttonMaks), causing MouseUp to never be sent.
This has been rectified, and the unit tests for the mouse handler
have been changed to check for explicitly sending mouseup and
mousedown.

Fixes #393
This commit is contained in:
Solly Ross
2014-09-19 14:17:15 -04:00
parent f0e4548b16
commit d02a99f0c8
2 changed files with 15 additions and 1 deletions

View File

@@ -550,7 +550,7 @@ var RFB;
if (down) {
this._mouse_buttonMask |= bmask;
} else {
this._mouse_buttonMaks ^= bmask;
this._mouse_buttonMask ^= bmask;
}
if (this._viewportDrag) {