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

Comment out recent lost timeline focus that made things worse

parent 728d2a4a
...@@ -1440,9 +1440,12 @@ Rectangle { ...@@ -1440,9 +1440,12 @@ Rectangle {
} }
function doRegainFocus() { function doRegainFocus() {
// This is currently broken, fix pending
return
var itemPos = mapToItem(tracksContainerArea, mouseX, mouseY) var itemPos = mapToItem(tracksContainerArea, mouseX, mouseY)
var currentMouseTrack = Logic.getTrackIdFromPos(parent.y + mouseY) var currentMouseTrack = Logic.getTrackIdFromPos(parent.y + mouseY)
// Try to find correct item // 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) var tentativeClip = getItemAtPos(currentMouseTrack, itemPos.x, dragProxy.isComposition)
if (tentativeClip && tentativeClip.clipId) { if (tentativeClip && tentativeClip.clipId) {
dragProxy.draggedItem = 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