feat(sointu): rewrote sequencer to add support for keyjazzing

This commit is contained in:
vsariola
2021-02-11 23:20:13 +02:00
parent b9c8218ca4
commit 10f53bdbf7
5 changed files with 272 additions and 153 deletions

View File

@ -1,19 +1,20 @@
package tracker
import (
"os"
"gioui.org/app"
"gioui.org/io/key"
"gioui.org/io/system"
"gioui.org/layout"
"gioui.org/op"
"os"
)
func (t *Tracker) Run(w *app.Window) error {
var ops op.Ops
for {
select {
case <-t.ticked:
case <-t.refresh:
w.Invalidate()
case e := <-w.Events():
switch e := e.(type) {