feat: add ability to import 4klang patches and instruments

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2023-07-06 23:47:55 +03:00
parent c06ac6ea5e
commit 248ba483c6
87 changed files with 643 additions and 55 deletions

View File

@ -106,9 +106,9 @@ func (f *FileDialogStyle) Layout(gtx C) D {
n = n[0 : len(n)-len(extension)]
switch f.dialog.UseAltExt.Value {
case true:
n += ".json"
n += f.ExtAlt
default:
n += ".yml"
n += f.ExtMain
}
f.dialog.FileName.SetText(n)
}