Simplify Songmenu (only selected and preview numbers)
More consistent handling of mouse and keyboard selection of songs
This commit is contained in:
1 parent
f2bd61937f
commit
fe60f6f5df
17 files changed
+697
-795
No files matched your search
@@ -132,6 +132,15 @@ namespace VocaluxeLib
|
||||
if (ctrl)
|
||||
Mod |= EModifier.Ctrl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if this is about an arrow key (left, right, up down)
|
||||
/// </summary>
|
||||
/// <returns>True if Key is an arrow key</returns>
|
||||
public bool IsArrowKey()
|
||||
{
|
||||
return Key == Keys.Left || Key == Keys.Right || Key == Keys.Up || Key == Keys.Down;
|
||||
}
|
||||
}
|
||||
|
||||
public struct SMouseEvent
|
||||
|
||||
Reference in new issue
Block a user