apps/hello: use correct Config type

Signed-off-by: Dan Kortschak <dan@kortschak.io>
This commit is contained in:
Dan Kortschak
2019-07-11 22:46:25 +09:30
committed by Elias Naur
parent f4461721e3
commit bcd5685e78
+1 -1
View File
@@ -46,7 +46,7 @@ func loop(w *app.Window) error {
if err != nil {
panic("failed to load font")
}
var cfg ui.Config
var cfg app.Config
faces := &measure.Faces{Config: &cfg}
maroon := color.RGBA{127, 0, 0, 255}
face := faces.For(regular, ui.Sp(72))