Commit 5a825cb4 authored by Aleksi Suomalainen's avatar Aleksi Suomalainen Committed by GitHub

Merge pull request #72 from neochapay/feedpage_fix

[FeedPage] Add feedpage background
parents 7dc736f5 f265c15c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment