Make CSingNotes also implement Draw()
Also a bit refactoring
This commit is contained in:
1 parent
6bf8a5d64c
commit
2f99cd2560
17 files changed
+489
-697
No files matched your search
@@ -66,7 +66,7 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
public virtual void Init()
|
||||
{
|
||||
_Selection = 0;
|
||||
_Selection = -1;
|
||||
_PrevMouse = new Point(0, 0);
|
||||
_Active = false;
|
||||
}
|
||||
@@ -294,7 +294,7 @@ namespace VocaluxeLib.Menu
|
||||
|
||||
for (int i = 0; i < _Elements.Count; i++)
|
||||
{
|
||||
if (_IsVisible(i) && _Elements[i].Type != EType.SingNote)
|
||||
if (_IsVisible(i))
|
||||
{
|
||||
var zs = new SZSort {ID = i, Z = _GetZValue(i)};
|
||||
items.Add(zs);
|
||||
|
||||
Reference in new issue
Block a user