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

Fix changing speed breaks timeline focus.

Fixes #803
parent cb7ee643
...@@ -549,7 +549,11 @@ Rectangle { ...@@ -549,7 +549,11 @@ Rectangle {
if (sizeChanged) { if (sizeChanged) {
clipRoot.trimmedIn(clipRoot, shiftTrim, controlTrim) clipRoot.trimmedIn(clipRoot, shiftTrim, controlTrim)
sizeChanged = false sizeChanged = false
updateDrag() if (!controlTrim) {
updateDrag()
} else {
endDrag()
}
} }
} }
onDoubleClicked: { onDoubleClicked: {
...@@ -658,7 +662,11 @@ Rectangle { ...@@ -658,7 +662,11 @@ Rectangle {
if (sizeChanged) { if (sizeChanged) {
clipRoot.trimmedOut(clipRoot, shiftTrim, controlTrim) clipRoot.trimmedOut(clipRoot, shiftTrim, controlTrim)
sizeChanged = false sizeChanged = false
updateDrag() if (!controlTrim) {
updateDrag()
} else {
endDrag()
}
} }
} }
onDoubleClicked: { onDoubleClicked: {
......
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