add Left and Right keybindings for seek back/fwd by 10 secs

This commit is contained in:
Drew Weymouth
2025-10-07 08:48:34 -07:00
parent 5ea0bcdad2
commit 7b8af7b952
+4
View File
@@ -486,6 +486,10 @@ func (m *MainWindow) addShortcuts() {
m.Controller.CloseEscapablePopUp()
case fyne.KeySpace:
m.App.PlaybackManager.PlayPause()
case fyne.KeyLeft:
m.App.PlaybackManager.SeekBySeconds(-10)
case fyne.KeyRight:
m.App.PlaybackManager.SeekBySeconds(10)
}
})
m.Canvas().SetOnMouseBack(m.BrowsingPane.GoBack)