Get blur overlay working

Progress!
This commit is contained in:
Loren Burkholder 2021-04-02 15:17:40 -04:00
parent 1918e89a0d
commit 800b6a1626
2 changed files with 12 additions and 5 deletions

View file

@ -13,11 +13,11 @@ Item {
function show(attachment, messageModel) { function show(attachment, messageModel) {
attached = attachment attached = attachment
model = messageModel model = messageModel
state = "shown" popupRoot.state = "shown"
} }
function hide() { function hide() {
state = "hidden" popupRoot.state = "hidden"
attached = undefined attached = undefined
model = undefined model = undefined
} }
@ -246,7 +246,7 @@ Item {
FastBlur { FastBlur {
id: overlay id: overlay
anchors.fill: parent anchors.fill: parent
source: timelineRoot source: timelineLayout
radius: 50 radius: 50
z: popupBottomBar.z - 1 z: popupBottomBar.z - 1
visible: false visible: false

View file

@ -227,7 +227,7 @@ Item {
} }
Item { Item {
Layout.fillHeight: true Layout.fillHeight: tru
} }
} }
@ -272,5 +272,12 @@ Item {
target: room target: room
} }
MobileMessageContextPopup {
id: mobileContextPopup
visible: false
anchors.fill: parent
} }
} }