Fixed sing-button in bg-popup.
This commit is contained in:
1 parent
cd7bb322f9
commit
abe8987748
2 files changed
+12
-2
No files matched your search
@@ -60,7 +60,18 @@ namespace Vocaluxe.Base
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool CanSing { get { return _BGMusicFiles.Contains(_CurrentPlaylistElement) ? false : _SongPlayer.CanSing; } }
|
public static bool CanSing
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_PlaysPreview)
|
||||||
|
return false;
|
||||||
|
else
|
||||||
|
if (_BGMusicFiles.Contains(_CurrentPlaylistElement))
|
||||||
|
return false;
|
||||||
|
else return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static bool Disabled
|
public static bool Disabled
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ namespace VocaluxeLib.Utils.Player
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public bool CanSing { get; private set; }
|
|
||||||
public int SongID
|
public int SongID
|
||||||
{
|
{
|
||||||
get { return _Song == null ? -1 : _Song.ID; }
|
get { return _Song == null ? -1 : _Song.ID; }
|
||||||
|
|||||||
Reference in new issue
Block a user