mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-12 11:13:03 -05:00
feat(tracker): add panic button to quickly disable the sound & show when synth crashes
This commit is contained in:
@ -60,6 +60,7 @@ type Tracker struct {
|
||||
SongLength *NumberInput
|
||||
SaveSongFileBtn *widget.Clickable
|
||||
FileMenuBtn *widget.Clickable
|
||||
PanicBtn *widget.Clickable
|
||||
FileMenuVisible bool
|
||||
ParameterSliders []*widget.Float
|
||||
ParameterList *layout.List
|
||||
@ -550,6 +551,7 @@ func New(audioContext sointu.AudioContext, synthService sointu.SynthService) *Tr
|
||||
AddUnitBtn: new(widget.Clickable),
|
||||
DeleteUnitBtn: new(widget.Clickable),
|
||||
ClearUnitBtn: new(widget.Clickable),
|
||||
PanicBtn: new(widget.Clickable),
|
||||
UnitDragList: &DragList{List: &layout.List{Axis: layout.Vertical}},
|
||||
setPlaying: make(chan bool),
|
||||
rowJump: make(chan int),
|
||||
|
||||
Reference in New Issue
Block a user