2021-01-25 15:50:42 -05:00
|
|
|
import QtQuick 2.13
|
2020-07-15 17:04:14 -04:00
|
|
|
import "../../../../../shared"
|
|
|
|
import "../../../../../imports"
|
|
|
|
|
|
|
|
MouseArea {
|
2020-07-20 17:59:01 -04:00
|
|
|
cursorShape: chatText.hoveredLink ? Qt.PointingHandCursor : undefined
|
2020-09-12 20:22:07 +02:00
|
|
|
acceptedButtons: Qt.RightButton | Qt.LeftButton
|
2020-07-20 17:59:01 -04:00
|
|
|
z: 50
|
2020-07-15 17:04:14 -04:00
|
|
|
onClicked: {
|
|
|
|
if(mouse.button & Qt.RightButton) {
|
2020-09-12 20:22:07 +02:00
|
|
|
clickMessage(false, isSticker, false);
|
2021-02-01 14:05:34 -05:00
|
|
|
isMessageActive = true
|
2020-09-12 20:22:07 +02:00
|
|
|
return;
|
|
|
|
}
|
2020-11-17 14:43:52 -05:00
|
|
|
if (mouse.button & Qt.LeftButton) {
|
2020-07-15 17:04:14 -04:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|