Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
b88ef859
Commit
b88ef859
authored
Feb 27, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/timeline.qml
View file @
b88ef859
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment