Commit ed8eaeef authored by Julius Künzel's avatar Julius Künzel Committed by Jean-Baptiste Mardelle
Browse files

Do not allow keyframe edit if keyframes are hidden

parent 4c8ef3d5
......@@ -1530,7 +1530,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