add autocenter mode
This commit is contained in:
@@ -257,8 +257,8 @@ int main(int argc, char *argv[])
|
||||
sHelp->Add("\to : Go to currently playing position\n\n\n");
|
||||
|
||||
sHelp->Add(" [b]Keys - Browse screen\n -----------------------------------------[/b]\n");
|
||||
sHelp->Add("\tEnter : Enter directory/Add to playlist and play song\n");
|
||||
sHelp->Add("\tSpace : Add song to playlist\n");
|
||||
sHelp->Add("\tEnter : Enter directory/Add item to playlist and play\n");
|
||||
sHelp->Add("\tSpace : Add item to playlist\n");
|
||||
sHelp->Add("\tBackspace : Go to parent directory\n");
|
||||
sHelp->Add("\tDelete : Delete playlist\n\n\n");
|
||||
|
||||
@@ -1392,6 +1392,12 @@ int main(int argc, char *argv[])
|
||||
|
||||
break;
|
||||
}
|
||||
case 'U': // toggle autocenter mode
|
||||
{
|
||||
Config.autocenter_mode = !Config.autocenter_mode;
|
||||
ShowMessage("Auto center mode: " + string(Config.autocenter_mode ? "On" : "Off"));
|
||||
break;
|
||||
}
|
||||
case 'u': // update database
|
||||
{
|
||||
if (current_screen == csBrowser)
|
||||
|
||||
Reference in New Issue
Block a user