From 25a8a8b0114bdc0c35dfe1d0c8a172490442bb93 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Fri, 9 Apr 2021 23:04:26 +0200 Subject: [PATCH] Give the bubble component a more descriptive name --- imports/NeoChat/Component/Timeline/TimelineContainer.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/imports/NeoChat/Component/Timeline/TimelineContainer.qml b/imports/NeoChat/Component/Timeline/TimelineContainer.qml index 3874a29c8..d721a49d0 100644 --- a/imports/NeoChat/Component/Timeline/TimelineContainer.qml +++ b/imports/NeoChat/Component/Timeline/TimelineContainer.qml @@ -46,7 +46,7 @@ QQC2.ItemDelegate { // updates the global hover component to point to this delegate, and update its position function updateHoverComponent() { - hoverComponent.bubble = controlContainer + hoverComponent.bubble = bubble hoverComponent.updateFunction = updateHoverComponent; hoverComponent.event = model } @@ -104,9 +104,8 @@ QQC2.ItemDelegate { visible: !model.showAuthor && Config.showAvatarInTimeline } - // bubble QQC2.ItemDelegate { - id: controlContainer + id: bubble Layout.maximumWidth: mainColumn.width - Kirigami.Units.gridUnit * 2 - Kirigami.Units.largeSpacing * 2 implicitHeight: contentItem.implicitHeight + topPadding topPadding: Kirigami.Units.largeSpacing