diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-04-02 15:17:40 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-09-15 21:21:39 -0400 |
commit | 800b6a16268c0374a3d431d621976d380a93a729 (patch) | |
tree | e703fca8ad687245342b5474a943bb25915055f8 | |
parent | 1918e89a0d11a77495c6be593a184850ef2fb0a7 (diff) |
Get blur overlay working
Progress!
-rw-r--r-- | resources/qml/MobileMessageContextPopup.qml | 6 | ||||
-rw-r--r-- | resources/qml/TimelineView.qml | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/resources/qml/MobileMessageContextPopup.qml b/resources/qml/MobileMessageContextPopup.qml index fa603d52..e517914e 100644 --- a/resources/qml/MobileMessageContextPopup.qml +++ b/resources/qml/MobileMessageContextPopup.qml @@ -13,11 +13,11 @@ Item { function show(attachment, messageModel) { attached = attachment model = messageModel - state = "shown" + popupRoot.state = "shown" } function hide() { - state = "hidden" + popupRoot.state = "hidden" attached = undefined model = undefined } @@ -246,7 +246,7 @@ Item { FastBlur { id: overlay anchors.fill: parent - source: timelineRoot + source: timelineLayout radius: 50 z: popupBottomBar.z - 1 visible: false diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index ad3f9518..adbe2661 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -227,7 +227,7 @@ Item { } Item { - Layout.fillHeight: true + Layout.fillHeight: tru } } @@ -272,5 +272,12 @@ Item { target: room } + MobileMessageContextPopup { + id: mobileContextPopup + + visible: false + anchors.fill: parent + } + } -} + |