Stop send mouse clicks while dragging in view only
This commit is contained in:
committed by
Lauri Kasanen
parent
5a81223d96
commit
8a8fa1d906
@@ -903,6 +903,8 @@ export default class RFB extends EventTargetMixin {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this._viewOnly) { return; }
|
||||
|
||||
// Otherwise we treat this as a mouse click event.
|
||||
// Send the button down event here, as the button up
|
||||
// event is sent at the end of this function.
|
||||
|
||||
Reference in New Issue
Block a user