Fix bug of overlapping texts and statics in playlist-element.
This commit is contained in:
1 parent
4e42b47b5c
commit
b7d14f5516
2 files changed
+20
No files matched your search
@@ -65,6 +65,25 @@ namespace Vocaluxe.Menu
|
|||||||
Active = false;
|
Active = false;
|
||||||
_ScreenArea = new SRectF(0f, 0f, CSettings.iRenderW, CSettings.iRenderH, 0f);
|
_ScreenArea = new SRectF(0f, 0f, CSettings.iRenderW, CSettings.iRenderH, 0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void Clear()
|
||||||
|
{
|
||||||
|
_Interactions.Clear();
|
||||||
|
_Statics.Clear();
|
||||||
|
_Texts.Clear();
|
||||||
|
_Buttons.Clear();
|
||||||
|
_SelectSlides.Clear();
|
||||||
|
|
||||||
|
_Selection = 0;
|
||||||
|
|
||||||
|
_PrevMouseX = 0;
|
||||||
|
_PrevMouseY = 0;
|
||||||
|
|
||||||
|
_MouseDX = 0;
|
||||||
|
_MouseDY = 0;
|
||||||
|
|
||||||
|
Active = false;
|
||||||
|
}
|
||||||
#region GetLists
|
#region GetLists
|
||||||
public List<CButton> GetButtons()
|
public List<CButton> GetButtons()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ namespace Vocaluxe.Menu
|
|||||||
|
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
|
_Interactions.Clear();
|
||||||
PrepareList();
|
PrepareList();
|
||||||
_Interactions.AddText(_Theme.TextPlaylistHeader);
|
_Interactions.AddText(_Theme.TextPlaylistHeader);
|
||||||
_Interactions.AddStatic(_Theme.StaticCover);
|
_Interactions.AddStatic(_Theme.StaticCover);
|
||||||
|
|||||||
Reference in new issue
Block a user