Fix #128: support mouse back/forward using custom added Fyne API

This commit is contained in:
Drew Weymouth
2024-03-13 09:07:52 -07:00
parent 9f7dadf186
commit 3d61659d07
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -333,6 +333,8 @@ func (m *MainWindow) addShortcuts() {
m.App.PlaybackManager.PlayPause()
}
})
m.Canvas().SetOnMouseBack(m.BrowsingPane.GoBack)
m.Canvas().SetOnMouseForward(m.BrowsingPane.GoForward)
}
func (m *MainWindow) showSettingsDialog() {