mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Only restart timer if feedMouseArea doesn't contain mouse
This commit is contained in:
parent
1a6a55680c
commit
096be16bb1
1 changed files with 3 additions and 1 deletions
|
@ -156,7 +156,9 @@ Column {
|
|||
onCurrentIndexChanged: {
|
||||
if (root.autoScrollTimerEnabled) {
|
||||
autoScrollTimer.interval = suggestions.get(scroll.currentIndex).time_before_autoscroll_ms;
|
||||
autoScrollTimer.start();
|
||||
if (!feedMouseArea.containsMouse) {
|
||||
autoScrollTimer.start();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue