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
6f288c8e
Commit
6f288c8e
authored
Mar 20, 2022
by
Jean-Baptiste Mardelle
Browse files
Right click on a timeline guide seeks to its position and shows context menu
BUG: 441014
parent
11b0c242
Pipeline
#152968
passed with stage
in 5 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/qml/Ruler.qml
View file @
6f288c8e
...
...
@@ -146,7 +146,7 @@ Item {
anchors.top
:
parent
.
top
width
:
parent
.
width
height
:
parent
.
height
acceptedButtons
:
Qt
.
LeftButton
acceptedButtons
:
Qt
.
LeftButton
|
Qt
.
RightButton
cursorShape
:
Qt
.
PointingHandCursor
hoverEnabled
:
true
property
int
prevFrame
...
...
@@ -178,6 +178,9 @@ Item {
if
(
root
.
activeTool
!==
ProjectTool
.
SlipTool
)
{
proxy
.
position
=
model
.
frame
}
if
(
mouse
.
button
==
Qt
.
RightButton
)
{
root
.
showRulerMenu
()
}
}
onEntered
:
{
rulerRoot
.
hoverGuide
=
true
...
...
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