[ui] Shortcuts in Viewer2D and SequencePlayer

This commit is contained in:
Aurore LAFAURIE 2024-06-10 15:09:28 +02:00
parent 601fbc53f8
commit 6b6f620124
2 changed files with 21 additions and 0 deletions

View file

@ -403,4 +403,15 @@ FloatingPane {
font: fpsTextInput.font
text: "100 FPS"
}
// Action to play/pause the sequence player
Action {
id: playPauseAction
shortcut: "Space"
onTriggered: {
m.playing = !m.playing;
}
}
}

View file

@ -1512,4 +1512,14 @@ FocusScope {
}
}
}
// Actions for Metadata overlay
Action {
id: metadataAction
shortcut: "I"
onTriggered: {
metadataCB.checked = !metadataCB.checked
}
}
}