mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
apps/gophers: update to renamed Config.Pixels method
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user