fix: upgrade to latest gioui (closes #97)

Latest gioui has the fix that enter key up event alone does not trigger a button
This commit is contained in:
5684185+vsariola@users.noreply.github.com
2023-08-27 10:58:42 +03:00
parent 94926c5596
commit 33221b5203
4 changed files with 19 additions and 29 deletions

View File

@ -9,7 +9,7 @@ import (
)
var fontCollection []text.FontFace = gofont.Collection()
var textShaper = text.NewShaper(fontCollection)
var textShaper = text.NewShaper(text.WithCollection(fontCollection))
var white = color.NRGBA{R: 255, G: 255, B: 255, A: 255}
var black = color.NRGBA{R: 0, G: 0, B: 0, A: 255}