Scroll to bottom when changing page.

Signed-off-by: Armored Dragon <publicmail@armoreddragon.com>
This commit is contained in:
Armored Dragon 2024-05-26 20:34:53 -05:00
parent 82605c50c4
commit 01306b3971
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -16,17 +16,18 @@ Rectangle {
// This signal is mostly used to close the "Desktop overlay window" script side
// https://github.com/overte-org/overte/issues/824
Timer {
interval: 100
interval: 10
running: true
repeat: false
onTriggered: {
toScript({type: "initialized"});
load_scroll_timer.running = true
}
}
Timer {
id: load_scroll_timer
interval: 1000
running: true
interval: 100
running: false
repeat: false
onTriggered: {
scrollToBottom();
@ -75,6 +76,7 @@ Rectangle {
anchors.fill: parent
onClicked: {
pageVal = "local";
load_scroll_timer.running = true;
}
}
}
@ -103,6 +105,7 @@ Rectangle {
anchors.fill: parent
onClicked: {
pageVal = "domain"
load_scroll_timer.running = true;
}
}
}