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
fe7ce60e
Commit
fe7ce60e
authored
Dec 02, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix left part of a cut cannot be selected right after processing
BUG: 428544
parent
cee0ad80
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Clip.qml
View file @
fe7ce60e
...
...
@@ -145,7 +145,7 @@ Rectangle {
}
onClipDurationChanged
:
{
width
=
clipDuration
*
timeScale
;
width
=
clipDuration
*
timeScale
if
(
parentTrack
&&
parentTrack
.
isAudio
&&
thumbsLoader
.
item
)
{
// Duration changed, we may need a different number of repeaters
thumbsLoader
.
item
.
reload
(
1
)
...
...
@@ -593,6 +593,8 @@ Rectangle {
onEntered
:
{
if
(
!
pressed
)
{
trimIn
.
opacity
=
1
var
itemPos
=
mapToItem
(
tracksContainerArea
,
0
,
0
,
width
,
height
)
initDrag
(
clipRoot
,
itemPos
,
clipRoot
.
clipId
,
clipRoot
.
modelStart
,
clipRoot
.
trackId
,
false
)
}
}
onExited
:
{
...
...
@@ -683,6 +685,8 @@ Rectangle {
onEntered
:
{
if
(
!
pressed
)
{
trimOut
.
opacity
=
1
var
itemPos
=
mapToItem
(
tracksContainerArea
,
0
,
0
,
width
,
height
)
initDrag
(
clipRoot
,
itemPos
,
clipRoot
.
clipId
,
clipRoot
.
modelStart
,
clipRoot
.
trackId
,
false
)
}
}
onExited
:
trimOut
.
opacity
=
0
...
...
src/timeline2/view/qml/timeline.qml
View file @
fe7ce60e
...
...
@@ -1235,7 +1235,7 @@ Rectangle {
clickAccepted
=
true
dragProxy
.
draggedItem
=
tentativeClip
.
clipId
dragProxy
.
x
=
tentativeClip
.
x
dragProxy
.
y
=
tentativeClip
.
y
//
dragProxy.y = tentativeClip.y
dragProxy
.
width
=
tentativeClip
.
width
dragProxy
.
height
=
tentativeClip
.
height
dragProxy
.
masterObject
=
tentativeClip
...
...
Write
Preview
Markdown
is supported
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