Jonathan Rainville a9cddde37e fix: fix text selection by putting mouseArea under text
And put link click handling by the TextField itself
2020-07-21 12:00:24 -04:00

17 lines
342 B
QML

import QtQuick 2.3
import "../../../../../shared"
import "../../../../../imports"
MouseArea {
cursorShape: chatText.hoveredLink ? Qt.PointingHandCursor : undefined
acceptedButtons: Qt.RightButton
z: 50
onClicked: {
if(mouse.button & Qt.RightButton) {
clickMessage()
return;
}
}
}