Commit 78d4e8f1 authored by Volker Krause's avatar Volker Krause
Browse files

Fix vehicle layouting when we don't have the absolute platform length

parent 7bfa7f5e
......@@ -117,7 +117,7 @@ Kirigami.ScrollablePage {
Item {
id: vehicleView
property real fullLength: vehicleModel.platform.length > 0 ? vehicleModel.platform.length * 3.5 : 1600 // full length of the platform display
property real fullLength: vehicleModel.platform.hasAbsoluteLength ? vehicleModel.platform.length * 3.5 : 1600 // full length of the platform display
property real sectionWidth: 48
width: parent.width
height: vehicleView.fullLength
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment