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
4c1570cd
Commit
4c1570cd
authored
Sep 01, 2021
by
Julius Künzel
💬
Browse files
Fix paste position when mouse is over subtitle track
parent
1ba83ecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/timeline.qml
View file @
4c1570cd
...
...
@@ -208,7 +208,11 @@ Rectangle {
return
(
dragProxy
.
masterObject
.
x
+
dragProxy
.
masterObject
.
mouseXPos
)
/
timeline
.
scaleFactor
}
if
(
tracksArea
.
containsMouse
)
{
return
(
scrollView
.
contentX
+
tracksArea
.
mouseX
)
/
timeline
.
scaleFactor
if
(
subtitleMouseArea
.
containsMouse
)
{
return
(
subtitleMouseArea
.
mouseX
)
/
timeline
.
scaleFactor
}
else
{
return
(
scrollView
.
contentX
+
tracksArea
.
mouseX
)
/
timeline
.
scaleFactor
}
}
else
{
return
-
1
;
}
...
...
@@ -1505,6 +1509,7 @@ Rectangle {
width
:
tracksContainerArea
.
width
height
:
0
MouseArea
{
id
:
subtitleMouseArea
anchors.fill
:
parent
acceptedButtons
:
Qt
.
NoButton
hoverEnabled
:
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