feat(tracker): shortcut-N starts a new song project

Closes #29
This commit is contained in:
vsariola 2021-02-15 19:15:05 +02:00
parent 83d6277ae6
commit 070833ed9c

View File

@ -106,6 +106,11 @@ func (t *Tracker) KeyEvent(w *app.Window, e key.Event) bool {
t.Redo()
return true
}
case "N":
if e.Modifiers.Contain(key.ModShortcut) {
t.LoadSong(defaultSong.Copy())
return true
}
case key.NameDeleteForward:
switch t.EditMode {
case EditTracks: