@Override
  public boolean isDragOut(@NotNull TabLabel tabLabel, int deltaX, int deltaY) {
    Rectangle bounds = tabLabel.getBounds();
    if (bounds.x + bounds.width + deltaX < 0 || bounds.x + bounds.width > tabLabel.getParent().getWidth()) return true;
    return Math.abs(deltaY) > tabLabel.getHeight();
  }
@Override
  public boolean isDragOut(@NotNull TabLabel tabLabel, int deltaX, int deltaY)