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
2fd7c24f
Commit
2fd7c24f
authored
Sep 18, 2022
by
Claudio Cambra
Browse files
Fix errors in main.qml
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
7065b026
Pipeline
#234113
failed with stage
in 4 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contents/ui/main.qml
View file @
2fd7c24f
...
...
@@ -137,7 +137,7 @@ Kirigami.ApplicationWindow {
pageStack
.
layers
.
pop
();
return
;
}
if
(
contextDrawer
.
visible
)
{
if
(
contextDrawer
&&
contextDrawer
.
visible
)
{
contextDrawer
.
close
();
return
;
}
...
...
@@ -650,7 +650,7 @@ Kirigami.ApplicationWindow {
return
Math
.
max
(
itemLeft
,
Math
.
min
(
clickPosition
.
x
,
itemRight
-
width
));
}
// Make sure not to cover up the incidence item
y
:
positionBelowIncidenceItem
?
incidenceItemPosition
.
y
+
openingIncidenceItem
.
height
:
incidenceItemPosition
.
y
-
height
;
y
:
positionBelowIncidenceItem
&&
openingIncidenceItem
?
incidenceItemPosition
.
y
+
openingIncidenceItem
.
height
:
incidenceItemPosition
.
y
-
height
;
width
:
Math
.
min
(
pageStack
.
currentItem
.
width
,
Kirigami
.
Units
.
gridUnit
*
30
)
height
:
Math
.
min
(
Kirigami
.
Units
.
gridUnit
*
50
,
scrollView
.
contentHeight
)
...
...
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