Properly enable hovering on message action menu

This commit is contained in:
Nicolas Werner 2022-03-22 19:59:22 +01:00
parent b52fd8538d
commit 4495ad8e55
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -65,6 +65,7 @@ Item {
property var attachedPos: chat.contentY, attached ? chat.mapFromItem(attached, attached ? attached.width - width : 0, -height) : null property var attachedPos: chat.contentY, attached ? chat.mapFromItem(attached, attached ? attached.width - width : 0, -height) : null
padding: Nheko.paddingSmall padding: Nheko.paddingSmall
hoverEnabled: true
visible: Settings.buttonsInTimeline && !!attached && (attached.hovered || hovered) visible: Settings.buttonsInTimeline && !!attached && (attached.hovered || hovered)
x: attached ? attachedPos.x : 0 x: attached ? attachedPos.x : 0
y: attached ? attachedPos.y + Nheko.paddingMedium : 0 y: attached ? attachedPos.y + Nheko.paddingMedium : 0