Skip to content
Snippets Groups Projects
Verified Commit e1c96569 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix janky hoverhandling for text messages

Add a 1px border to get more hover enter events...
parent 1142fe26
No related branches found
No related tags found
No related merge requests found
Pipeline #786 passed
......@@ -54,6 +54,7 @@ ScrollView {
HoverHandler {
id: messageActionHover
grabPermissions: PointerHandler.CanTakeOverFromAnything
}
......@@ -301,7 +302,6 @@ ScrollView {
id: hoverHandler
enabled: !Settings.mobileMode
onHoveredChanged: {
if (hovered) {
if (!messageActionHover.hovered) {
......
......@@ -35,6 +35,7 @@ Item {
RowLayout {
id: row
anchors.rightMargin: 1
anchors.leftMargin: avatarSize + 16
anchors.left: parent.left
anchors.right: parent.right
......@@ -43,6 +44,8 @@ Item {
Layout.fillWidth: true
Layout.alignment: Qt.AlignTop
spacing: 4
Layout.topMargin: 1
Layout.bottomMargin: 1
// fancy reply, if this is a reply
Reply {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment