feat(tracker): make color scheme dark gray

This commit is contained in:
vsariola
2021-01-08 16:11:18 +02:00
parent 92ab035101
commit e480622f57
4 changed files with 22 additions and 25 deletions

View File

@ -2,6 +2,7 @@ package tracker
import (
"fmt"
"image/color"
"sync"
"gioui.org/font/gofont"
@ -180,6 +181,7 @@ func New(audioContext sointu.AudioContext) *Tracker {
ticked: make(chan struct{}),
closer: make(chan struct{}),
}
t.Theme.Color.Primary = color.RGBA{R: 64, G: 64, B: 64, A: 255}
go t.sequencerLoop(t.closer)
if err := t.LoadSong(defaultSong); err != nil {
panic(fmt.Errorf("cannot load default song: %w", err))