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 authored and gbrail committed Aug 15, 2023
1 parent 5f92432 commit f173e8c
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 f173e8c

Please sign in to comment.