From f4ef1a08c947f3ee6fac05633ced2b8e7cd0846e Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 14 Dec 2021 23:47:12 +0100 Subject: [PATCH] Fix header blur --- nymea-app/ui/MainPage.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nymea-app/ui/MainPage.qml b/nymea-app/ui/MainPage.qml index ffd9cc99..1651d433 100644 --- a/nymea-app/ui/MainPage.qml +++ b/nymea-app/ui/MainPage.qml @@ -239,13 +239,17 @@ Page { id: contentContainer anchors.fill: parent clip: true -// visible: false property int headerSize: 48 readonly property int scrollOffset: swipeView.currentItem.item.contentY readonly property int headerBlurSize: Math.min(headerSize, scrollOffset * 2) + Rectangle { + width: parent.width + height: contentContainer.headerBlurSize + color: Style.backgroundColor + } SwipeView { id: swipeView