Removed a bunch of redundant draw calls

Most were related to a but with the keynav api
This commit is contained in:
2023-02-09 01:30:14 -05:00
parent ce20b7d02c
commit 16a0e76145
5 changed files with 37 additions and 20 deletions

View File

@@ -32,6 +32,7 @@ func run () {
controlBar := basicElements.NewContainer(basicLayouts.Horizontal { true, false })
label := basicElements.NewLabel("Play a song!", false)
controlBar.Adopt(label, true)
controlBar.Adopt(basicElements.NewLabel("Play a song!", false), true)
waveformButton := basicElements.NewButton("Sine")
waveformButton.OnClick (func () {
waveform = (waveform + 1) % 2