Avoid some duplicate property queries

This commit is contained in:
Nicolas Werner 2021-03-03 21:34:24 +01:00
parent 3b4f8f2016
commit e3803ceb9a
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 2 additions and 2 deletions

View file

@ -203,7 +203,7 @@ ScrollView {
TimelineRow {
id: timelinerow
y: section.active && section.visible ? section.y + section.height : 0
y: section.visible && section.active ? section.y + section.height : 0
}
Connections {

View file

@ -90,7 +90,7 @@ MouseArea {
// Show the scrollbars
flickable.flick(0, 0);
flickable.contentY = newPos;
cancelFlickStateTimer.start();
cancelFlickStateTimer.restart();
}
Timer {