aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 06:28:40 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 09:28:40 -0700
commitd7be3b21d6284999d9927c13ed98a0ed2865f02e (patch)
tree6d153146bdfd6dcf37f778dc269e02409394868e /mobile-widgets
parent1d32ebd6579fa2690050bca7afbe211ed0fd47f6 (diff)
downloadsubsurface-d7be3b21d6284999d9927c13ed98a0ed2865f02e.tar.gz
QML UI: DiveList distinguish trip and selected dive
Making the selected dive's background less opaque prevents confusion. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/DiveList.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index a2cb70651..2e4bd397c 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -31,6 +31,7 @@ Kirigami.ScrollablePage {
checked: diveListView.currentIndex === model.index
width: parent.width
height: diveListEntry.height + Kirigami.Units.smallSpacing
+ background.opacity: checked ? 0.4 : 1
property real detailsOpacity : 0