Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
thsa committed Oct 11, 2024
2 parents 22e24b1 + 85c460a commit e545288
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,15 +978,19 @@ private void eventHappened(GenericMouseEvent e) {
return;
}

if (e.getButton() == 1) {
mMouseIsDown = false;
updateCursor();
mouseReleasedButton1();
}
}

if (e.getWhat() == GenericMouseEvent.MOUSE_CLICKED) {
if (e.getButton() == 1) {
if (e.getClickCount() == 2) {
handleDoubleClick(e.getX(), e.getY());
return;
}

mMouseIsDown = false;
updateCursor();
mouseReleasedButton1();
}
}

Expand Down

0 comments on commit e545288

Please sign in to comment.