on xenial help sign in
Allow more notification-types to support swipe-to-dismiss.
commit61bf9a31b12e6314318d6805c85dde7209f3bd56 authorMirco Müller <mirco.mueller@ubuntu.com> dateFri 12 Sep 2014, 22:23 (12 years ago) parentcbbdd0c
1 file changed+2−1
qml/Notifications/Notification.qml+2−1
qml/Notifications/Notification.qml+2−1
@@ -37,7 +37,8 @@ Item {
3737 property var notification
3838 property color color
3939 property bool fullscreen: false
40− property bool draggable: notification.type == Notification.SnapDecision && state == "contracted"
40+ //property bool draggable: (notification.type == Notification.SnapDecision && state == "contracted") || notification.type == Notification.Interactive
41+ property bool draggable: state == "contracted" || notification.type !== Notification.Confirmation
4142 property int maxHeight
4243 property int margins
4344 property Gradient greenGradient : Gradient {