Avoid some duplicate property queries
This commit is contained in:
parent
3b4f8f2016
commit
e3803ceb9a
@ -203,7 +203,7 @@ ScrollView {
|
|||||||
TimelineRow {
|
TimelineRow {
|
||||||
id: timelinerow
|
id: timelinerow
|
||||||
|
|
||||||
y: section.active && section.visible ? section.y + section.height : 0
|
y: section.visible && section.active ? section.y + section.height : 0
|
||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
|
@ -90,7 +90,7 @@ MouseArea {
|
|||||||
// Show the scrollbars
|
// Show the scrollbars
|
||||||
flickable.flick(0, 0);
|
flickable.flick(0, 0);
|
||||||
flickable.contentY = newPos;
|
flickable.contentY = newPos;
|
||||||
cancelFlickStateTimer.start();
|
cancelFlickStateTimer.restart();
|
||||||
}
|
}
|
||||||
|
|
||||||
Timer {
|
Timer {
|
||||||
|
Loading…
Reference in New Issue
Block a user