Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
ee87d0cf
Commit
ee87d0cf
authored
Nov 10, 2021
by
Claudio Cambra
Browse files
Fixed scrolling down in week view
parent
9f24a9a7
Pipeline
#96161
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/WeekView.qml
View file @
ee87d0cf
...
...
@@ -100,10 +100,7 @@ Kirigami.Page {
readonly
property
Kirigami.Action
todayAction
:
Kirigami.Action
{
icon.name
:
"
go-jump-today
"
text
:
i18n
(
"
Today
"
)
onTriggered
:
{
setToDate
(
new
Date
());
pathView
.
currentItem
.
item
.
hourScrollView
.
setToCurrentTime
();
}
onTriggered
:
setToDate
(
new
Date
(),
true
);
}
actions
{
...
...
@@ -527,7 +524,6 @@ Kirigami.Page {
readonly
property
real
hourHeight
:
periodsPerHour
*
root
.
periodHeight
readonly
property
real
minuteHeight
:
hourHeight
/
60
readonly
property
Item
vScrollBar
:
QQC2
.
ScrollBar
.
vertical
readonly
property
real
vScrollBarSize
:
QQC2
.
ScrollBar
.
vertical
.
size
function
setToCurrentTime
()
{
if
(
currentTimeMarkerLoader
.
active
)
{
...
...
@@ -664,6 +660,7 @@ Kirigami.Page {
anchors.fill
:
parent
spacing
:
root
.
gridLineWidth
boundsBehavior
:
Flickable
.
StopAtBounds
interactive
:
false
model
:
24
delegate
:
Rectangle
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment