Commit 00959165 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Comment out recent lost timeline focus that made things worse

parent e52546e8
Pipeline #52524 canceled with stage
......@@ -1542,9 +1542,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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment