Skip to content

Commit 072a670

Browse files
committed
Fix rebase
1 parent 9345a61 commit 072a670

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

packages/widgets/src/tabbar.ts

-18
Original file line numberDiff line numberDiff line change
@@ -1070,24 +1070,6 @@ export class TabBar<T> extends Widget {
10701070
detachRequested: false
10711071
};
10721072

1073-
// Add the document pointer up listener.
1074-
this.document.addEventListener('pointerup', this, true);
1075-
1076-
// Do nothing else if the middle button or add button is clicked.
1077-
if (event.button === 1 || addButtonClicked) {
1078-
return;
1079-
}
1080-
if (scrollBeforeButtonClicked || scrollAfterButtonClicked) {
1081-
this.beginScrolling(scrollBeforeButtonClicked ? '-' : '+');
1082-
return;
1083-
}
1084-
1085-
// Do nothing else if the close icon is clicked.
1086-
let icon = tabs[index].querySelector(this.renderer.closeIconSelector);
1087-
if (icon && icon.contains(event.target as HTMLElement)) {
1088-
return;
1089-
}
1090-
10911073
// Add the extra listeners if the tabs are movable.
10921074
if (this.tabsMovable) {
10931075
this.document.addEventListener('pointermove', this, true);

0 commit comments

Comments
 (0)