Skip to content

Commit

Permalink
ozone: fix another navigation jitter
Browse files Browse the repository at this point in the history
  • Loading branch information
natinusala committed Feb 13, 2019
1 parent 59398e4 commit cb9d227
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions menu/drivers/ozone/ozone_entries.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ static int ozone_get_entries_padding(ozone_handle_t* ozone, bool old_list)
return ozone->dimensions.entry_padding_horizontal_full;
else
return ozone->dimensions.entry_padding_horizontal_half;
else
if (old_list)
else if (ozone->depth == 2)
if (old_list && ozone->fade_direction == false) /* false = left to right */
return ozone->dimensions.entry_padding_horizontal_half;
else
return ozone->dimensions.entry_padding_horizontal_full;
else
return ozone->dimensions.entry_padding_horizontal_full;
}

static void ozone_draw_entry_value(ozone_handle_t *ozone,
Expand Down

0 comments on commit cb9d227

Please sign in to comment.