mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-12 23:35:32 +00:00
b245d858aa
redesigns the compact mode to have a nice hover, easier replying and adding reactions and more Missing parts are aligning chat command, images and unfurlings, redesigning mentions and the channel list and also trying to find a way to re-enable link hovers in the text
20 lines
473 B
QML
20 lines
473 B
QML
import QtQuick 2.13
|
|
import "../../../../../shared"
|
|
import "../../../../../imports"
|
|
|
|
MouseArea {
|
|
cursorShape: chatText.hoveredLink ? Qt.PointingHandCursor : undefined
|
|
acceptedButtons: Qt.RightButton | Qt.LeftButton
|
|
z: 50
|
|
onClicked: {
|
|
if(mouse.button & Qt.RightButton) {
|
|
clickMessage(false, isSticker, false);
|
|
return;
|
|
}
|
|
if (mouse.button & Qt.LeftButton) {
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|