Properly enable hovering on message action menu

macos-qt
Nicolas Werner 3 years ago
parent b52fd8538d
commit 4495ad8e55
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 1
      resources/qml/MessageView.qml

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

Loading…
Cancel
Save