From e79b7e7268f8c13423ace5f0ebd8b164b0071d9a Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 1 Aug 2018 20:35:00 +0200 Subject: Same dimming for fullday events --- views/calendar/qml/WeekView.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/views/calendar/qml/WeekView.qml b/views/calendar/qml/WeekView.qml index 55adc3c4..31e94b93 100644 --- a/views/calendar/qml/WeekView.qml +++ b/views/calendar/qml/WeekView.qml @@ -129,6 +129,18 @@ FocusScope { } } } + + //Dimm days in the past + Rectangle { + anchors { + left: parent.left + top: parent.top + bottom: parent.bottom + } + width: (root.currentDate.getDate() - root.startDate.getDate()) * root.dayWidth + color: Kube.Colors.buttonColor + opacity: 0.2 + } } //END daylong events -- cgit v1.2.3