@Override
  protected @Nullable TabLabel findLastVisibleLabel(SingleRowPassInfo data) {
    int i = data.toLayout.size() - 1;
    while (i >= 0) {
      TabInfo info = data.toLayout.get(i);
      TabLabel label = tabs.getTabLabel(info);
      if (!Objects.requireNonNull(label).getBounds().isEmpty()) {
        return label;
      }
      i--;
    }
    return null;
  }
@Override
  protected @Nullable TabLabel findLastVisibleLabel(SingleRowPassInfo data)