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
Multimedia
Kdenlive
Commits
407478c9
Commit
407478c9
authored
Oct 24, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix click in timeline broken after switching to another app with spacer tool active
parent
a00b264c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/timeline.qml
View file @
407478c9
...
...
@@ -367,7 +367,7 @@ Rectangle {
tentativeClip
=
getItemAtPos
(
currentMouseTrack
,
(
mousePos
.
x
-
trackHeaders
.
width
+
scrollView
.
contentX
),
false
)
}
if
(
tentativeClip
&&
tentativeClip
.
clipId
&&
tentativeClip
.
doesContainMouse
(
root
.
mapToItem
(
tentativeClip
,
mousePos
.
x
,
mousePos
.
y
)))
{
if
(
tentativeClip
&&
tentativeClip
.
clipId
&&
tentativeClip
.
doesContainMouse
(
root
.
mapToItem
(
tentativeClip
,
mousePos
.
x
,
mousePos
.
y
))
&&
root
.
activeTool
!==
ProjectTool
.
SpacerTool
)
{
dragProxy
.
draggedItem
=
tentativeClip
.
clipId
var
tk
=
controller
.
getItemTrackId
(
tentativeClip
.
clipId
)
dragProxy
.
x
=
tentativeClip
.
x
...
...
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