mirror of
https://github.com/novnc/noVNC.git
synced 2026-06-08 05:14:37 +00:00
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:
@@ -550,7 +550,7 @@ var RFB;
|
||||
if (down) {
|
||||
this._mouse_buttonMask |= bmask;
|
||||
} else {
|
||||
this._mouse_buttonMaks ^= bmask;
|
||||
this._mouse_buttonMask ^= bmask;
|
||||
}
|
||||
|
||||
if (this._viewportDrag) {
|
||||
|
||||
Reference in New Issue
Block a user