Skip to content

Commit

Permalink
8254676: Alert disables Tab selection when TabDragPolicy REORDER is used
Browse files Browse the repository at this point in the history
Backport-of: cce8580
  • Loading branch information
Johan Vos committed Mar 12, 2023
1 parent 19cb7c7 commit 3ec9dda
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -2102,14 +2102,12 @@ private void setupReordering(StackPane headersRegion) {

private void handleHeaderMousePressed(MouseEvent event) {
if (event.getButton().equals(MouseButton.PRIMARY)) {
((StackPane) event.getSource()).setMouseTransparent(true);
startDrag(event);
}
}

private void handleHeaderMouseReleased(MouseEvent event) {
if (event.getButton().equals(MouseButton.PRIMARY)) {
((StackPane) event.getSource()).setMouseTransparent(false);
stopDrag();
event.consume();
}
Expand Down

1 comment on commit 3ec9dda

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.