@Override
  public boolean isTabHidden(@NotNull TabInfo info) {
    TabLabel label = tabs.getTabLabel(info);
    Rectangle bounds = Objects.requireNonNull(label).getBounds();
    int deadzone = JBUI.scale(DEADZONE_FOR_DECLARE_TAB_HIDDEN);
    return getStrategy().getMinPosition(bounds) < -deadzone
           || bounds.width < label.getPreferredSize().width - deadzone
           || bounds.height < label.getPreferredSize().height - deadzone;
  }
@Override
  public boolean isTabHidden(@NotNull TabInfo info)