on xenial help sign in
tease also when a drag gets started

and remove unneeded code from DirectionalDragArea

commit28bb748279673bc89bd8afc47a9d4423b3564f9b authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateTue 9 Dec 2014, 09:00 (12 years ago) parente55b3fb
3 files changed+12−3
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp−3 qml/Greeter/Greeter.qml+7 qml/Shell.qml+5
plugins/Ubuntu/Gestures/DirectionalDragArea.cpp−3
@@ -884,6 +884,3 @@ qreal DirectionalDragArea::projectOntoDirectionVector(const QPointF &sceneVector
884884 return sceneVector.x() * m_sceneDirectionVector.x() +
885885 sceneVector.y() * m_sceneDirectionVector.y();
886886}
887−
888−// Because we are defining a new QObject-based class (RecognitionTimer) here.
889−#include "DirectionalDragArea.moc"
qml/Greeter/Greeter.qml+7
@@ -26,6 +26,7 @@ Showable {
2626 created: greeterContentLoader.status == Loader.Ready && greeterContentLoader.item.ready
2727
2828 property real dragHandleLeftMargin: 0
29+ property alias dragging: dragHandle.dragging
2930
3031 property url background
3132
@@ -114,6 +115,12 @@ Showable {
114115 greeter.tapped();
115116 showLabelAnimation.start();
116117 }
118+
119+ onDraggingChanged: {
120+ if (dragging) {
121+ showLabelAnimation.start();
122+ }
123+ }
117124 }
118125
119126 Label {
qml/Shell.qml+5
@@ -613,6 +613,11 @@ Item {
613613 }
614614
615615 onTapped: launcher.tease()
616+ onDraggingChanged: {
617+ if (dragging) {
618+ launcher.tease();
619+ }
620+ }
616621
617622 Binding {
618623 target: ApplicationManager