mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Hide hover when leaving the timeline
This commit is contained in:
parent
35a2b0e45a
commit
89a8f7a3f1
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ Item {
|
|||
property Item attached: null
|
||||
property alias model: row.model
|
||||
// use comma to update on scroll
|
||||
property var attachedPos: chat.contentY, attached ? chat.mapFromItem(attached, attached ? attached.width - width : 0, -height) : null
|
||||
property var attachedPos: chat.contentY, chat.count, attached ? chat.mapFromItem(attached, attached ? attached.width - width : 0, -height) : null
|
||||
readonly property int padding: Nheko.paddingSmall
|
||||
|
||||
visible: Settings.buttonsInTimeline && !!attached && (attached.hovered || messageActionHover.hovered)
|
||||
|
@ -478,7 +478,7 @@ Item {
|
|||
TimelineRow {
|
||||
id: timelinerow
|
||||
|
||||
hovered: (wrapper.hovered && !messageActionHover.hovered) || (messageActions.model != undefined && messageActions.model.eventId == timelinerow.eventId)
|
||||
hovered: messageActionHover.hovered ? (messageActions.model != undefined && messageActions.model.eventId == timelinerow.eventId) : wrapper.hovered
|
||||
|
||||
proportionalHeight: wrapper.proportionalHeight
|
||||
type: chat.model, wrapper.type
|
||||
|
|
Loading…
Reference in a new issue