mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
feat(tracker/gioui): keybindings file is keybindings.yml, not .yaml
This commit is contained in:
parent
10f021a497
commit
3fb7f07c2c
@ -8,8 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- A toggle button for copying non-unique patterns before editing. When enabled
|
||||
and if the pattern is used in multiple places, the pattern is copied first.
|
||||
([#77][i77])
|
||||
- User can define own keybindings in
|
||||
`os.UserConfigDir()/sointu/keybindings.yaml` ([#94][i94], [#151][i151])
|
||||
- User can define own keybindings in `os.UserConfigDir()/sointu/keybindings.yml`
|
||||
([#94][i94], [#151][i151])
|
||||
- A small number above the instrument name identifies the MIDI channel /
|
||||
instrument number, with numbering starting from 1 ([#154][i154])
|
||||
- The filter unit frequency parameter is displayed in Hz, corresponding roughly
|
||||
|
@ -32,7 +32,7 @@ func loadCustomKeyBindings() []KeyBinding {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
path := filepath.Join(configDir, "sointu", "keybindings.yaml")
|
||||
path := filepath.Join(configDir, "sointu", "keybindings.yml")
|
||||
bytes, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
return nil
|
||||
@ -47,7 +47,7 @@ func loadCustomKeyBindings() []KeyBinding {
|
||||
return keyBindings
|
||||
}
|
||||
|
||||
//go:embed keybindings.yaml
|
||||
//go:embed keybindings.yml
|
||||
var defaultKeyBindingsYaml []byte
|
||||
|
||||
func loadDefaultKeyBindings() []KeyBinding {
|
||||
|
Loading…
Reference in New Issue
Block a user