QML UI: don't reduce opacity for background of selected dive

Now that we have distinct colors for trip header and selected dive, this
is actually counter productive.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-21 11:53:16 -07:00
parent 02d8c98c93
commit 4651454557

View file

@ -31,7 +31,6 @@ Kirigami.ScrollablePage {
checked: diveListView.currentIndex === model.index checked: diveListView.currentIndex === model.index
width: parent.width width: parent.width
height: diveListEntry.height + Kirigami.Units.smallSpacing height: diveListEntry.height + Kirigami.Units.smallSpacing
background.opacity: checked ? 0.8 : 1
backgroundColor: checked ? subsurfaceTheme.primaryColor : Kirigami.Theme.viewBackgroundColor backgroundColor: checked ? subsurfaceTheme.primaryColor : Kirigami.Theme.viewBackgroundColor
textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.diveListTextColor textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.diveListTextColor