Now allow links to be clicked in replies
This commit is contained in:
@@ -82,13 +82,14 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
HoverHandler{
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
MouseArea {
|
}
|
||||||
anchors.fill: parent
|
TapHandler {
|
||||||
cursorShape: Qt.PointingHandCursor
|
acceptedButtons: Qt.LeftButton
|
||||||
onClicked: {
|
onTapped: {
|
||||||
replyComponent.replyClicked()
|
replyComponent.replyClicked()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -98,6 +99,18 @@ Item {
|
|||||||
textMessage: reply.display
|
textMessage: reply.display
|
||||||
textFormat: Text.RichText
|
textFormat: Text.RichText
|
||||||
isReplyLabel: true
|
isReplyLabel: true
|
||||||
|
|
||||||
|
HoverHandler{
|
||||||
|
enabled: !hoveredLink
|
||||||
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
}
|
||||||
|
TapHandler {
|
||||||
|
enabled: !hoveredLink
|
||||||
|
acceptedButtons: Qt.LeftButton
|
||||||
|
onTapped: {
|
||||||
|
replyComponent.replyClicked()
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Component {
|
Component {
|
||||||
|
|||||||
Reference in New Issue
Block a user