on xenial help sign in
Use x instead of multiplication
f425c64Albert Astals
qml/Dash/DashDepartments.qml+1−1
@@ -127,7 +127,7 @@ AbstractButton {
127 property real desiredHeight: {
127 property real desiredHeight: {
128 if (root.showList) {
128 if (root.showList) {
129 if (department && department.loaded &&
129 if (department && department.loaded &&
130− index == departmentListView.currentIndex && index * width == departmentListView.contentX)
130+ index == departmentListView.currentIndex && x == departmentListView.contentX)
131 {
131 {
132 return Math.min(implicitHeight, departmentListView.maxHeight);
132 return Math.min(implicitHeight, departmentListView.maxHeight);
133 } else {
133 } else {