figuring out draggin system with libraryItem module
This commit is contained in:
parent
945402892a
commit
3c0bf5d482
1 changed files with 1 additions and 7 deletions
|
@ -249,13 +249,7 @@ Item {
|
|||
onActiveChanged: {
|
||||
if (dragHandler.drag.active) {
|
||||
dragItemIndex = id;
|
||||
dragItemTitle = title;
|
||||
dragItemType = "song";
|
||||
dragItemBackgroundType = backgroundType;
|
||||
dragItemBackground = background;
|
||||
dragItemAudio = audio;
|
||||
dragItemFont = font;
|
||||
dragItemFontSize = fontSize;
|
||||
dragItemType = libraryType;
|
||||
draggedLibraryItem = self;
|
||||
} else {
|
||||
listItem.Drag.drop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue