diff --git a/src/qml/FeedsPage.qml b/src/qml/FeedsPage.qml index d44d2097..c9e6dc60 100644 --- a/src/qml/FeedsPage.qml +++ b/src/qml/FeedsPage.qml @@ -36,6 +36,23 @@ Flickable { clip: true contentHeight: rootitem.height contentWidth: parent.width + + Rectangle{ + id: bg + width: desktop.width + height: desktop.height-statusbar.height + color: "black" + opacity: 0.6 + } + + onXChanged: { + if(x < 0){ + bg.opacity = 0.6*(desktop.width+x)/desktop.width + }else{ + bg.opacity = 0.6*(desktop.width-x)/desktop.width + } + } + Item { id: rootitem width: parent.width