Skip to content
GitLab
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
776d00b4
Commit
776d00b4
authored
Mar 31, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix 1 frame offset in clip monitor zone causing issues on timeline insert
parent
4a777724
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
776d00b4
...
...
@@ -876,7 +876,7 @@ void Monitor::slotStartDrag()
QStringList
list
;
list
.
append
(
m_controller
->
AbstractProjectItem
::
clipId
());
list
.
append
(
QString
::
number
(
p
.
x
()));
list
.
append
(
QString
::
number
(
p
.
y
()));
list
.
append
(
QString
::
number
(
p
.
y
()
-
1
));
prodData
.
append
(
list
.
join
(
QLatin1Char
(
'/'
)).
toUtf8
());
}
mimeData
->
setData
(
QStringLiteral
(
"kdenlive/producerslist"
),
prodData
);
...
...
src/monitor/view/kdenliveclipmonitor.qml
View file @
776d00b4
...
...
@@ -329,7 +329,7 @@ Item {
Drag.active
:
dragVideoArea
.
drag
.
active
Drag.dragType
:
Drag
.
Automatic
Drag.mimeData
:
{
"
kdenlive/producerslist
"
:
"
V
"
+
controller
.
clipId
+
"
/
"
+
controller
.
zoneIn
+
"
/
"
+
controller
.
zoneOut
"
kdenlive/producerslist
"
:
"
V
"
+
controller
.
clipId
+
"
/
"
+
controller
.
zoneIn
+
"
/
"
+
(
controller
.
zoneOut
-
1
)
}
MouseArea
{
id
:
dragVideoArea
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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