Skip to content

Commit

Permalink
Remove mouse button 0/2 check on mouseup.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Mar 23, 2021
1 parent 4288bee commit 4af4029
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Server/wwwroot/src/RemoteControl/InputEventHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,7 @@ export function ApplyInputHandlers() {
if (currentPointerDevice == "touch") {
return;
}
if (e.button != 0 && e.button != 2) {
return;
}

e.preventDefault();

if (ViewerApp.ViewOnlyMode) {
Expand Down

0 comments on commit 4af4029

Please sign in to comment.