mobile/UI: ensure we show a line between dives

In the dive list the rendering of the line ended up being subject to
rounding errors. With this change we ensure that the thin line is always
shown.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-12-17 15:11:20 -08:00
parent 31b28a31a9
commit 00cb5dd834

View file

@ -162,7 +162,7 @@ Kirigami.ScrollablePage {
}
Item {
id: diveListEntry
height: visible ? 10 * Kirigami.Units.smallSpacing : 0
height: visible ? 10 * Kirigami.Units.smallSpacing - 1 : 0
anchors {
right: parent.right
left: leftBarDive.right