@Override
  public boolean isDragOut(@NotNull TabLabel tabLabel, int deltaX, int deltaY) {
    if (lastTableLayout == null) {
      return super.isDragOut(tabLabel, deltaX, deltaY);
    }

    Rectangle area = new Rectangle(lastTableLayout.toFitRec.width, tabLabel.getBounds().height);
    for (int i = 0; i < lastTableLayout.visibleInfos.size(); i++) {
      area = area.union(myTabs.getTabLabel(lastTableLayout.visibleInfos.get(i)).getBounds());
    }
    return Math.abs(deltaY) > area.height * getDragOutMultiplier();
  }
@Override
  public boolean isDragOut(@NotNull TabLabel tabLabel, int deltaX, int deltaY)