on xenial help sign in
Made the comment for a notification's global opacity-binding more verbose.
commitda18a799d148a6d0867e728cc39617113df30de9 authorMirco Müller <mirco.mueller@ubuntu.com> dateWed 12 Nov 2014, 15:54 (12 years ago) parent5aa8f18
1 file changed+1−1
qml/Notifications/Notification.qml+1−1
qml/Notifications/Notification.qml+1−1
@@ -53,7 +53,7 @@ Item {
5353 implicitHeight: type !== Notification.PlaceHolder ? (fullscreen ? maxHeight : outterColumn.height - shapedBack.anchors.topMargin + contentSpacing * 2) : 0
5454
5555 color: (type === Notification.Confirmation && notificationList.useModal && !greeter.shown) || darkOnBright ? sdLightGrey : Qt.rgba(0.132, 0.117, 0.109, 0.97)
56− opacity: 1 - (x / notification.width) // FIXME: 1 because of LP: #1354406 workaround, has to be 0 really
56+ opacity: 1 - (x / notification.width) // FIXME: non-zero initially because of LP: #1354406 workaround, we want this to start at 0 upon creation eventually
5757
5858 state: {
5959 var result = "";