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
956009fc
Commit
956009fc
authored
Nov 17, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix broken find/replace breaking timeline clip markers display
parent
590c2a66
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Clip.qml
View file @
956009fc
...
...
@@ -483,8 +483,8 @@ Rectangle {
width
:
1
height
:
container
.
height
x
:
clipRoot
.
speed
<
0
?
(
clipRoot
.
maxDuration
-
clipRoot
.
switchedI
nPoint
)
*
timeScale
+
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
))
*
timeScale
-
clipRoot
.
border
.
width
:
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
)
-
clipRoot
.
switchedI
nPoint
)
*
timeScale
-
clipRoot
.
border
.
width
;
?
(
clipRoot
.
maxDuration
-
clipRoot
.
i
nPoint
)
*
timeScale
+
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
))
*
timeScale
-
clipRoot
.
border
.
width
:
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
)
-
clipRoot
.
i
nPoint
)
*
timeScale
-
clipRoot
.
border
.
width
;
color
:
model
.
color
}
Rectangle
{
...
...
@@ -504,7 +504,7 @@ Rectangle {
hoverEnabled
:
true
onDoubleClicked
:
timeline
.
editMarker
(
clipRoot
.
clipId
,
model
.
frame
)
onClicked
:
proxy
.
position
=
clipRoot
.
modelStart
+
(
clipRoot
.
speed
<
0
?
(
clipRoot
.
maxDuration
-
clipRoot
.
switchedI
nPoint
)
*
timeScale
+
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
))
?
(
clipRoot
.
maxDuration
-
clipRoot
.
i
nPoint
)
*
timeScale
+
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
))
:
(
Math
.
round
(
model
.
frame
/
clipRoot
.
speed
)
-
clipRoot
.
switchedInPoint
))
}
}
...
...
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