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
Reviewed-by: arapte, kcr
  • Loading branch information
Johan Vos committed Nov 22, 2022
1 parent a0ea874 commit cce8580
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 cce8580

@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.