Commit b88ef859 authored by Julius Künzel's avatar Julius Künzel
Browse files

Do not allow keyframe edit if keyframes are hidden

parent 52cfb205
Pipeline #52472 passed with stage
in 10 minutes and 26 seconds
......@@ -1632,7 +1632,7 @@ Rectangle {
tracksArea.focus = true
}
onDoubleClicked: {
if (dragProxy.masterObject.keyframeModel) {
if (dragProxy.masterObject.keyframeModel && dragProxy.masterObject.showKeyframes) {
var newVal = (dragProxy.height - mouseY) / dragProxy.height
var newPos = Math.round(mouseX / timeScale) + dragProxy.masterObject.inPoint
timeline.addEffectKeyframe(dragProxy.draggedItem, newPos, newVal)
......
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