This commit is contained in:
Thomas Perl 2014-02-07 17:23:56 +01:00
parent 3d7128a421
commit 99cf0780c1
43 changed files with 239 additions and 182 deletions

View file

@ -20,6 +20,8 @@
import QtQuick 2.0
import 'common/constants.js' as Constants
Rectangle {
property var flickable
@ -28,7 +30,7 @@ Rectangle {
width: 5 * pgst.scalef
height: flickable.visibleArea.heightRatio * flickable.height
visible: flickable.visibleArea.heightRatio < 1
color: '#ffffff'
opacity: flickable.moving ? .2 : 0
color: Constants.colors.background
opacity: flickable.moving ? 1 : 0
Behavior on opacity { PropertyAnimation { duration: 100 } }
}