fix: from review

This commit is contained in:
qm210
2024-11-22 15:22:58 +01:00
parent ad690c7697
commit 243396c301
5 changed files with 29 additions and 19 deletions

View File

@ -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
}