diff options
author | Sebastian Kügler <sebas@kde.org> | 2016-01-07 00:39:33 +0100 |
---|---|---|
committer | Sebastian Kügler <sebas@kde.org> | 2016-01-07 00:39:33 +0100 |
commit | 95bca4b50c4fd46ae190ac87ea8934523881b776 (patch) | |
tree | c7803775c577095a8d5d21756569039f387b4a38 /qt-mobile/qml/mobilecomponents/ContextDrawer.qml | |
parent | a9b53efce6cdd7f6329794c9cd46525216b6844c (diff) | |
download | subsurface-95bca4b50c4fd46ae190ac87ea8934523881b776.tar.gz |
sync with mobilecomponents 9d179eb74a227
- Workaround for black squares is merged upstream
- brings back the FAB button, additional
- swipe interaction improvements in the same
Signed-off-by: Sebastian Kügler <sebas@kde.org>
Diffstat (limited to 'qt-mobile/qml/mobilecomponents/ContextDrawer.qml')
-rw-r--r-- | qt-mobile/qml/mobilecomponents/ContextDrawer.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml index 575ac3679..088399721 100644 --- a/qt-mobile/qml/mobilecomponents/ContextDrawer.qml +++ b/qt-mobile/qml/mobilecomponents/ContextDrawer.qml @@ -67,10 +67,11 @@ OverlayDrawer { } } delegate: BasicListItem { - enabled: true checked: modelData.checked icon: modelData.iconName label: model ? model.text : modelData.text + enabled: model ? model.enabled : modelData.enabled + opacity: enabled ? 1.0 : 0.6 onClicked: { if (modelData && modelData.trigger !== undefined) { modelData.trigger(); |