Skip to content

Commit

Permalink
Merge pull request #1568 from pavelbraginskiy/rs-preview
Browse files Browse the repository at this point in the history
Don't open RS right click menu on left click
  • Loading branch information
IllianiCBT authored Jul 23, 2024
2 parents 5d36273 + 4b5f5d8 commit ea68006
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorExcepti
@Override
public void mouseClicked(MouseEvent e) {
super.mouseClicked(e);
if (e.getButton() != MouseEvent.BUTTON3) {
return;
}
popup.show(e.getComponent(), e.getX(), e.getY());
}
}
Expand Down

0 comments on commit ea68006

Please sign in to comment.