Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
3fe09bd0
Commit
3fe09bd0
authored
Feb 28, 2021
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment out recent lost timeline focus that made things worse
parent
728d2a4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/timeline2/view/qml/timeline.qml
src/timeline2/view/qml/timeline.qml
+3
-0
No files found.
src/timeline2/view/qml/timeline.qml
View file @
3fe09bd0
...
...
@@ -1440,9 +1440,12 @@ Rectangle {
}
function
doRegainFocus
()
{
// This is currently broken, fix pending
return
var
itemPos
=
mapToItem
(
tracksContainerArea
,
mouseX
,
mouseY
)
var
currentMouseTrack
=
Logic
.
getTrackIdFromPos
(
parent
.
y
+
mouseY
)
// Try to find correct item
console
.
log
(
'
checking item on TK:
'
,
currentMouseTrack
,
'
AT:
'
,
itemPos
.
x
,
'
mouse:
'
,
mouseX
,
'
, PARENT:
'
,
parent
.
x
)
var
tentativeClip
=
getItemAtPos
(
currentMouseTrack
,
itemPos
.
x
,
dragProxy
.
isComposition
)
if
(
tentativeClip
&&
tentativeClip
.
clipId
)
{
dragProxy
.
draggedItem
=
tentativeClip
.
clipId
...
...
Write
Preview
Markdown
is supported
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