status-desktop/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/MessageMouseArea.qml

17 lines
358 B
QML
Raw Normal View History

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(false, isSticker)
return;
}
}
}