Fixed bug with playlist-mouse-handling.
This commit is contained in:
1 parent
2235f85896
commit
5a363ed17e
1 file changed
+3
-3
@@ -420,7 +420,7 @@ namespace Vocaluxe.Menu
|
|||||||
|
|
||||||
public bool IsMouseOver(MouseEvent MouseEvent)
|
public bool IsMouseOver(MouseEvent MouseEvent)
|
||||||
{
|
{
|
||||||
return CHelper.IsInBounds(Rect, MouseEvent.X, MouseEvent.Y) || _Interactions.IsMouseOver(MouseEvent);
|
return CHelper.IsInBounds(CompleteRect, MouseEvent.X, MouseEvent.Y) || _Interactions.IsMouseOver(MouseEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UnloadTextures()
|
public void UnloadTextures()
|
||||||
@@ -929,7 +929,7 @@ namespace Vocaluxe.Menu
|
|||||||
//Change order with holding LB
|
//Change order with holding LB
|
||||||
if (MouseEvent.LBH && CurrentPlaylistElement != -1 && PlaylistElementContents.Count > 1 && DragAndDropSongID == -1)
|
if (MouseEvent.LBH && CurrentPlaylistElement != -1 && PlaylistElementContents.Count > 1 && DragAndDropSongID == -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
ChangeOrderSource = CurrentPlaylistElement + Offset;
|
ChangeOrderSource = CurrentPlaylistElement + Offset;
|
||||||
|
|
||||||
//Update of Drag/Drop-Texture
|
//Update of Drag/Drop-Texture
|
||||||
@@ -1071,7 +1071,7 @@ namespace Vocaluxe.Menu
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UpdatePlaylist();
|
UpdatePlaylist();
|
||||||
}
|
}
|
||||||
_EditMode = EEditMode.None;
|
_EditMode = EEditMode.None;
|
||||||
|
|||||||
Reference in new issue
Block a user