on xenial help sign in
use correct graphic
46da459Michael Zanetti
qml/Stage/Spread/SpreadDelegateInputArea.qml+2−1
@@ -105,7 +105,7 @@ Item {
105
105
106 onCanceled: {
106 onCanceled: {
107 print("****************** cancelled")
107 print("****************** cancelled")
108− fakeDragItem.Drag.active = true;
108+ fakeDragItem.Drag.active = false;
109 fakeDragItem.surface = null;
109 fakeDragItem.surface = null;
110 d.moving = false
110 d.moving = false
111 animation.animate("center");
111 animation.animate("center");
@@ -147,6 +147,7 @@ Item {
147 onReleased: {
147 onReleased: {
148 print("released!")
148 print("released!")
149 var result = fakeDragItem.Drag.drop();
149 var result = fakeDragItem.Drag.drop();
150+ fakeDragItem.surface = null;
150
151
151 if (!d.moving) {
152 if (!d.moving) {
152 root.clicked()
153 root.clicked()
qml/Stage/Spread/WorkspacePreview.qml+2−2
@@ -90,13 +90,13 @@ Item {
90 anchors.centerIn: parent
90 anchors.centerIn: parent
91 spacing: units.gu(1)
91 spacing: units.gu(1)
92 Icon {
92 Icon {
93− source: "../graphics/multi-monitor_leave.png"
93+ source: "../graphics/multi-monitor_drop-here.png"
94 height: units.gu(4)
94 height: units.gu(4)
95 width: height
95 width: height
96 anchors.horizontalCenter: parent.horizontalCenter
96 anchors.horizontalCenter: parent.horizontalCenter
97 }
97 }
98 Label {
98 Label {
99− text: qsTr("Drop")
99+ text: qsTr("Drop here")
100 }
100 }
101 }
101 }
102 }
102 }