mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 03:03:35 +02:00
Fixed scrolling too far.
Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
01306b3971
commit
7fc1a3d175
1 changed files with 0 additions and 4 deletions
|
@ -458,11 +458,7 @@ Rectangle {
|
||||||
|
|
||||||
function scrollToBottom() {
|
function scrollToBottom() {
|
||||||
if (listview.count == 0) return;
|
if (listview.count == 0) return;
|
||||||
// if (chat_scrollbar.visualPosition > 0.85) {
|
|
||||||
listview.positionViewAtIndex(listview.count - 1, ListView.End);
|
|
||||||
listview.positionViewAtEnd();
|
listview.positionViewAtEnd();
|
||||||
listview.contentY = listview.contentY + 50;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue