mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
Get blur overlay working
Progress!
This commit is contained in:
parent
1918e89a0d
commit
800b6a1626
2 changed files with 12 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue