diff options
-rw-r--r-- | views/calendar/qml/WeekView.qml | 12 |
1 files changed, 12 insertions, 0 deletions
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 { | |||
129 | } | 129 | } |
130 | } | 130 | } |
131 | } | 131 | } |
132 | |||
133 | //Dimm days in the past | ||
134 | Rectangle { | ||
135 | anchors { | ||
136 | left: parent.left | ||
137 | top: parent.top | ||
138 | bottom: parent.bottom | ||
139 | } | ||
140 | width: (root.currentDate.getDate() - root.startDate.getDate()) * root.dayWidth | ||
141 | color: Kube.Colors.buttonColor | ||
142 | opacity: 0.2 | ||
143 | } | ||
132 | } | 144 | } |
133 | //END daylong events | 145 | //END daylong events |
134 | 146 | ||