mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 16:36:54 +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: {
|
onCurrentIndexChanged: {
|
||||||
if (root.autoScrollTimerEnabled) {
|
if (root.autoScrollTimerEnabled) {
|
||||||
autoScrollTimer.interval = suggestions.get(scroll.currentIndex).time_before_autoscroll_ms;
|
autoScrollTimer.interval = suggestions.get(scroll.currentIndex).time_before_autoscroll_ms;
|
||||||
autoScrollTimer.start();
|
if (!feedMouseArea.containsMouse) {
|
||||||
|
autoScrollTimer.start();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue