~eliasnaur/gio

ref: f24232dac52e gio/widget/image_test.go -rw-r--r-- 2.1 KiB
widget: fix image scaling

Commit 94d242d broke the widget.Image's Scale field so
that it no longer had any effect on the actual size of
the displayed image. This commit fixes that, as well as
adding tests to confirm that the widget.Image type
scales appropriately with DPI changes and its own Scale
field.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>