Vertical space the section label of a NON-first row reserves above its rect. The very first drawn row always reserves labelSlotH() unconditionally (a sticky header slot), so its space never depends on whether it happens to carry a section — that constant top slot is what keeps scrolling from jumping when a group's header row scrolls off.
| 145 | // carry a section — that constant top slot is what keeps scrolling from |
| 146 | // jumping when a group's header row scrolls off. |
| 147 | int inlineSectionExtra(const std::string& section, const std::string& prevSection) |
| 148 | { |
| 149 | if (section.empty() || section == prevSection) |
| 150 | return 0; |
| 151 | return SECTION_GAP_ABOVE + labelSlotH(); |
| 152 | } |
| 153 | |
| 154 | // The console's LAN address, matching how ftp.c binds gethostid(). Bytes are |
| 155 | // read in memory order (little-endian ARM), so the low byte is the first |
no test coverage detected