isHighLight method

bool isHighLight(
  1. SelectionEntity item
)

是否高亮

Implementation

bool isHighLight(SelectionEntity item) {
  if (item.isInLastLevel()) {
    if (item.isUnLimit()) {
      return isCurrentFocused;
    } else {
      return item.isSelected;
    }
  } else {
    return isCurrentFocused;
  }
}