Skip to content

Commit

Permalink
FIX: could not set breakpoint by clicking on line number in debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasPoehler committed Aug 8, 2023
1 parent ff29b02 commit c9b9416
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1864,7 +1864,7 @@ public void mouseExited(MouseEvent e) {}
/** Called when a mouse button is released. */
@Override
public void mouseReleased(MouseEvent e) {
if (e.getComponent() == this && (e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) != 0) {
if (e.getComponent() == this && e.getButton() == MouseEvent.BUTTON1) {
int y = e.getY();
Font font = fileWindow.textArea.getFont();
FontMetrics metrics = getFontMetrics(font);
Expand Down

0 comments on commit c9b9416

Please sign in to comment.