Only restart timer if feedMouseArea doesn't contain mouse

This commit is contained in:
Zach Fox 2018-08-10 15:32:31 -07:00
parent 1a6a55680c
commit 096be16bb1

View file

@ -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();
}
}
}