Avoid some duplicate property queries

pull/505/head
Nicolas Werner 4 years ago
parent 3b4f8f2016
commit e3803ceb9a
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      resources/qml/MessageView.qml
  2. 2
      resources/qml/ScrollHelper.qml

@ -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 {

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

Loading…
Cancel
Save