mirror of
https://github.com/yattee/yattee.git
synced 2025-10-10 17:38:15 +00:00
Opening videos by URL and local files
This commit is contained in:
@@ -5,10 +5,18 @@ struct MenuCommands: Commands {
|
||||
@Binding var model: MenuModel
|
||||
|
||||
var body: some Commands {
|
||||
openVideosMenu
|
||||
navigationMenu
|
||||
playbackMenu
|
||||
}
|
||||
|
||||
private var openVideosMenu: some Commands {
|
||||
CommandGroup(after: .newItem) {
|
||||
Button("Open Videos...") { model.navigation?.presentingOpenVideos = true }
|
||||
.keyboardShortcut("t")
|
||||
}
|
||||
}
|
||||
|
||||
private var navigationMenu: some Commands {
|
||||
CommandGroup(before: .windowSize) {
|
||||
Button("Home") {
|
||||
|
Reference in New Issue
Block a user