Merge pull request #474 from Vocaluxe/SpaceKeyAtPlaylistName
Allow using space key while editing playlist names
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -369,7 +369,7 @@ namespace Vocaluxe.Screens
|
|||||||
switch (keyEvent.Key)
|
switch (keyEvent.Key)
|
||||||
{
|
{
|
||||||
case Keys.Space:
|
case Keys.Space:
|
||||||
if (!_Sso.Selection.PartyMode)
|
if (!_Sso.Selection.PartyMode && !_Playlist.isPlaylistNameEditMode())
|
||||||
_ToggleSongOptions(ESongOptionsView.General);
|
_ToggleSongOptions(ESongOptionsView.General);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -972,6 +972,11 @@ namespace VocaluxeLib.Menu
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool isPlaylistNameEditMode()
|
||||||
|
{
|
||||||
|
return _EditMode == EEditMode.PlaylistName;
|
||||||
|
}
|
||||||
|
|
||||||
private void _PrepareList()
|
private void _PrepareList()
|
||||||
{
|
{
|
||||||
_PlaylistElements.Clear();
|
_PlaylistElements.Clear();
|
||||||
|
|||||||
Reference in new issue
Block a user