Fix janky hoverhandling for text messages
Add a 1px border to get more hover enter events...
This commit is contained in:
parent
1142fe2663
commit
e1c96569c1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user