Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
8fbc80d9
Commit
8fbc80d9
authored
Jun 17, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix timeline zone out is 1 frame before expected position
parent
253885cb
Pipeline
#24157
passed with stage
in 20 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/monitor/monitormanager.cpp
src/monitor/monitormanager.cpp
+1
-1
No files found.
src/monitor/monitormanager.cpp
View file @
8fbc80d9
...
...
@@ -599,7 +599,7 @@ void MonitorManager::slotSetOutPoint()
}
else
if
(
m_activeMonitor
==
m_projectMonitor
)
{
QPoint
sourceZone
=
m_projectMonitor
->
getZoneInfo
();
QPoint
destZone
=
sourceZone
;
destZone
.
setY
(
m_projectMonitor
->
position
());
destZone
.
setY
(
m_projectMonitor
->
position
()
+
1
);
if
(
destZone
.
y
()
<
destZone
.
x
())
{
destZone
.
setX
(
qMax
(
0
,
destZone
.
y
()
-
(
sourceZone
.
y
()
-
sourceZone
.
x
())));
}
...
...
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