apps/gophers: update to renamed Config.Pixels method

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-10 14:03:30 +02:00
parent 320579814f
commit 624ef78e1c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -723,7 +723,7 @@ func toRectF(r image.Rectangle) f32.Rectangle {
}
func (ic *icon) image(cfg *ui.Config) image.Image {
sz := cfg.Val(ic.size)
sz := cfg.Pixels(ic.size)
if sz == ic.imgSize {
return ic.img
}