summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 20:35:00 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-08-01 20:35:00 +0200
commite79b7e7268f8c13423ace5f0ebd8b164b0071d9a (patch)
tree8cce22ddf2a1ef41e678e5795b41b9f46c2e2d5d
parentb2d7f528a6b48cf79fe808651e373c63c6f71cee (diff)
downloadkube-e79b7e7268f8c13423ace5f0ebd8b164b0071d9a.tar.gz
kube-e79b7e7268f8c13423ace5f0ebd8b164b0071d9a.zip
Same dimming for fullday events
-rw-r--r--views/calendar/qml/WeekView.qml12
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