Add setting for disabling wrap-around lists

Allows user to decide whether scrolling lists will wrap around
to the opposite end after the first or last item has been reached.

Change-Id: I22156812cf4c857ddc4b6c48c1cef013b1985260
This commit is contained in:
Christian Soffke 2021-10-21 23:11:32 +02:00 committed by William Wilgus
parent 30a23fdd6d
commit fbf83dc4ce
9 changed files with 73 additions and 7 deletions

View file

@ -530,6 +530,7 @@ struct user_settings
bool browse_current; /* 1=goto current song,
0=goto previous location */
bool scroll_paginated; /* 0=dont 1=do */
bool list_wraparound; /* wrap around to opposite end of list when scrolling */
int scroll_speed; /* long texts scrolling speed: 1-30 */
int bidir_limit; /* bidir scroll length limit */
int scroll_delay; /* delay (in 1/10s) before starting scroll */