Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
17eea317
Commit
17eea317
authored
Jan 20, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix timeline ruler not working after effect drop in some circumstances.
Related to
#1306
parent
d8b2a256
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Clip.qml
View file @
17eea317
...
...
@@ -241,6 +241,7 @@ Rectangle {
onEntered
:
{
dropData
=
drag
.
getDataAsString
(
'
kdenlive/effect
'
)
dropSource
=
drag
.
getDataAsString
(
'
kdenlive/effectsource
'
)
updateDrag
()
}
onDropped
:
{
console
.
log
(
"
Add effect:
"
,
dropData
)
...
...
@@ -252,7 +253,10 @@ Rectangle {
}
dropSource
=
''
dropRow
=
-
1
drag
.
acceptProposedAction
drag
.
acceptProposedAction
.
}
onExited
:
{
endDrag
()
}
}
MouseArea
{
...
...
src/timeline2/view/qml/timeline.qml
View file @
17eea317
...
...
@@ -1191,7 +1191,7 @@ Rectangle {
trimmingClickFrame
=
Math
.
round
((
scrollView
.
contentX
+
mouse
.
x
)
/
timeline
.
scaleFactor
)
timeline
.
requestStartTrimmingMode
(
mainClip
.
clipId
,
shiftPress
)
}
if
(
dragProxy
.
draggedItem
>
-
1
)
{
if
(
dragProxy
.
draggedItem
>
-
1
&&
mouse
.
y
>
ruler
.
height
)
{
mouse
.
accepted
=
false
return
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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