spelling: separator

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:41:00 -05:00
parent 586db5b942
commit 927251a776
5 changed files with 7 additions and 7 deletions

View file

@ -589,7 +589,7 @@ static void prv_draw_separator_cb(GContext *ctx, const Layer *cell_layer,
system_theme_get_default_content_size_for_runtime_platform();
const ActionMenuSeparatorConfig *config = &s_separator_configs[runtime_platform_default_size];
// If this index is the seperator index, we want to draw the separator line
// If this index is the separator index, we want to draw the separator line
// in the vertical center of the separator
const int16_t nudge_down = PBL_IF_RECT_ELSE(3, 0);
const int16_t nudge_right = menu_cell_basic_horizontal_inset() + 1;

View file

@ -393,7 +393,7 @@ static void prv_menu_layer_walk_downward_from_iterator(MenuIterator *it) {
it->cursor.sep = prv_menu_layer_get_separator_height(it->menu_layer, &it->cursor.index);
it->cursor.y = it->cell_bottom_y; // Bottom of previous cell is y of the next cell
// Don't leave space for the seperator for the (nonexistent) row after the last row.
// Don't leave space for the separator for the (nonexistent) row after the last row.
// This doesn't impact cell drawing in this loop (this condition will only trip on the last run).
// But, other parts of the system rely on the cursor being set properly at the end of this iteration.
if (it->cursor.index.row < num_rows_in_section - 1 || it->cursor.index.section < num_sections - 1) {