adding backgrounds to drag of songs

This commit is contained in:
Chris Cochrun 2022-03-21 14:40:07 -05:00
parent c71356cac3
commit 2f016f8295
2 changed files with 2 additions and 13 deletions

View file

@ -210,9 +210,8 @@ Item {
if (songDragHandler.drag.active) {
dragItemTitle = title;
dragItemType = "song";
dragItemBackgroundType = "image";
dragItemBackground = "";
/* showPassiveNotification(dragSongTitle) */
dragItemBackgroundType = backgroundType;
dragItemBackground = background;
} else {
songListItem.Drag.drop()
}

View file

@ -206,16 +206,6 @@ Item {
Controls.SplitView.preferredWidth: 700
Controls.SplitView.minimumWidth: 300
/* Rectangle { */
/* id: slideBar */
/* color: Kirigami.Theme.highlightColor */
/* Layout.preferredWidth: 500 */
/* Layout.preferredHeight: songTitleField.height */
/* Layout.rightMargin: 20 */
/* Layout.leftMargin: 20 */
/* } */
Presenter.SlideEditor {
id: slideEditor
Layout.preferredWidth: 500