fixes flickering of account avatar overlay

This commit is contained in:
gridtime 2024-01-07 16:41:36 +01:00
parent 09b31c881e
commit 6e6b54c4c8
No known key found for this signature in database
GPG Key ID: FB6ACC7A1C9182F8

View File

@ -132,6 +132,8 @@ HFlickableColumnPage {
// Layout.preferredWidth: 256 * theme.uiScale // Layout.preferredWidth: 256 * theme.uiScale
Layout.preferredHeight: width Layout.preferredHeight: width
HoverHandler { id: overlayHover }
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
z: 10 z: 10
@ -154,8 +156,6 @@ HFlickableColumnPage {
Behavior on opacity { HNumberAnimation {} } Behavior on opacity { HNumberAnimation {} }
Behavior on color { HColorAnimation {} } Behavior on color { HColorAnimation {} }
HoverHandler { id: overlayHover }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
enabled: ready && account.presence !== "offline" enabled: ready && account.presence !== "offline"