Make cursoring up/down more consistent on some setups
This commit is contained in:
parent
f3ff56692e
commit
ffa4dca8b3
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue