Commit 6f288c8e authored by Jean-Baptiste Mardelle's avatar 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
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment