mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-12-04 08:08:49 +03:00
Avoid some duplicate property queries
This commit is contained in:
parent
3b4f8f2016
commit
e3803ceb9a
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue