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
379efc4e
Commit
379efc4e
authored
Jan 06, 2020
by
Jean-Baptiste Mardelle
Browse files
Adjust clip borders
parent
3315ad4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Clip.qml
View file @
379efc4e
...
...
@@ -81,7 +81,7 @@ Rectangle {
signal
initGroupTrim
(
var
clip
)
signal
trimmingOut
(
var
clip
,
real
newDuration
,
var
mouse
,
bool
shiftTrim
,
bool
controlTrim
)
signal
trimmedOut
(
var
clip
,
bool
shiftTrim
,
bool
controlTrim
)
onScrollStartChanged
:
{
clipRoot
.
hideClipViews
=
scrollStart
>
width
||
scrollStart
+
scrollView
.
viewport
.
width
<
0
}
...
...
@@ -176,7 +176,7 @@ Rectangle {
}
border.color
:
selected
?
root
.
selectionColor
:
grouped
?
root
.
groupColor
:
borderColor
border.width
:
isGrabbed
?
8
:
1.5
border.width
:
isGrabbed
?
8
:
2
function
updateDrag
()
{
var
itemPos
=
mapToItem
(
tracksContainerArea
,
0
,
0
,
clipRoot
.
width
,
clipRoot
.
height
)
...
...
@@ -293,8 +293,8 @@ Rectangle {
Item
{
// Thumbs container
anchors.fill
:
parent
anchors.leftMargin
:
0
anchors.rightMargin
:
0
anchors.leftMargin
:
parentTrack
.
isAudio
?
0
:
clipRoot
.
border
.
width
anchors.rightMargin
:
parentTrack
.
isAudio
?
0
:
clipRoot
.
border
.
width
anchors.topMargin
:
clipRoot
.
border
.
width
anchors.bottomMargin
:
clipRoot
.
border
.
width
clip
:
true
...
...
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