mirror of
https://github.com/vsariola/sointu.git
synced 2026-02-22 16:13:13 -05:00
fix: from review
This commit is contained in:
@ -164,10 +164,7 @@ func (t *Tracker) Main() {
|
||||
func NewWindow() *app.Window {
|
||||
w := new(app.Window)
|
||||
w.Option(app.Title("Sointu Tracker"))
|
||||
w.Option(
|
||||
app.Size(unit.Dp(800), unit.Dp(600)),
|
||||
app.Fullscreen.Option(),
|
||||
)
|
||||
w.Option(app.Size(unit.Dp(800), unit.Dp(600)))
|
||||
return w
|
||||
}
|
||||
|
||||
@ -350,3 +347,10 @@ func (t *Tracker) removeFromMidiNotePlaying(note byte) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (t *Tracker) HasAnyMidiInput() bool {
|
||||
for _ = range t.Model.MIDI.InputDevices {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user