adding backgrounds to drag of songs
This commit is contained in:
parent
c71356cac3
commit
2f016f8295
2 changed files with 2 additions and 13 deletions
|
@ -210,9 +210,8 @@ Item {
|
||||||
if (songDragHandler.drag.active) {
|
if (songDragHandler.drag.active) {
|
||||||
dragItemTitle = title;
|
dragItemTitle = title;
|
||||||
dragItemType = "song";
|
dragItemType = "song";
|
||||||
dragItemBackgroundType = "image";
|
dragItemBackgroundType = backgroundType;
|
||||||
dragItemBackground = "";
|
dragItemBackground = background;
|
||||||
/* showPassiveNotification(dragSongTitle) */
|
|
||||||
} else {
|
} else {
|
||||||
songListItem.Drag.drop()
|
songListItem.Drag.drop()
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,16 +206,6 @@ Item {
|
||||||
Controls.SplitView.preferredWidth: 700
|
Controls.SplitView.preferredWidth: 700
|
||||||
Controls.SplitView.minimumWidth: 300
|
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 {
|
Presenter.SlideEditor {
|
||||||
id: slideEditor
|
id: slideEditor
|
||||||
Layout.preferredWidth: 500
|
Layout.preferredWidth: 500
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue