Give the bubble component a more descriptive name
This commit is contained in:
@@ -46,7 +46,7 @@ QQC2.ItemDelegate {
|
|||||||
|
|
||||||
// updates the global hover component to point to this delegate, and update its position
|
// updates the global hover component to point to this delegate, and update its position
|
||||||
function updateHoverComponent() {
|
function updateHoverComponent() {
|
||||||
hoverComponent.bubble = controlContainer
|
hoverComponent.bubble = bubble
|
||||||
hoverComponent.updateFunction = updateHoverComponent;
|
hoverComponent.updateFunction = updateHoverComponent;
|
||||||
hoverComponent.event = model
|
hoverComponent.event = model
|
||||||
}
|
}
|
||||||
@@ -104,9 +104,8 @@ QQC2.ItemDelegate {
|
|||||||
visible: !model.showAuthor && Config.showAvatarInTimeline
|
visible: !model.showAuthor && Config.showAvatarInTimeline
|
||||||
}
|
}
|
||||||
|
|
||||||
// bubble
|
|
||||||
QQC2.ItemDelegate {
|
QQC2.ItemDelegate {
|
||||||
id: controlContainer
|
id: bubble
|
||||||
Layout.maximumWidth: mainColumn.width - Kirigami.Units.gridUnit * 2 - Kirigami.Units.largeSpacing * 2
|
Layout.maximumWidth: mainColumn.width - Kirigami.Units.gridUnit * 2 - Kirigami.Units.largeSpacing * 2
|
||||||
implicitHeight: contentItem.implicitHeight + topPadding
|
implicitHeight: contentItem.implicitHeight + topPadding
|
||||||
topPadding: Kirigami.Units.largeSpacing
|
topPadding: Kirigami.Units.largeSpacing
|
||||||
|
|||||||
Reference in New Issue
Block a user