Skip to content
Snippets Groups Projects
Unverified Commit ffa4dca8 authored by SyldraTheCat's avatar SyldraTheCat
Browse files

Make cursoring up/down more consistent on some setups

parent f3ff5669
No related branches found
No related tags found
No related merge requests found
Pipeline #3220 failed
......@@ -278,7 +278,7 @@ Rectangle {
}
idx++;
}
} else if (positionAt(0, cursorRectangle.y) === 0) {
} else if (positionAt(0, cursorRectangle.y + cursorRectangle.height / 2) === 0) {
event.accepted = true;
positionCursorAtStart();
}
......@@ -295,7 +295,7 @@ Rectangle {
}
idx--;
}
} else if (positionAt(width, cursorRectangle.y + 2) === messageInput.length) {
} else if (positionAt(width, cursorRectangle.y + cursorRectangle.height / 2) === messageInput.length) {
event.accepted = true;
positionCursorAtEnd();
}
......
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