feat: increase the size to use nearest scaling
This commit is contained in:
parent
7fb5173583
commit
97dfa89a4a
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ impl State {
|
||||||
image.width(),
|
image.width(),
|
||||||
image.height(),
|
image.height(),
|
||||||
));
|
));
|
||||||
if image.dimensions() < (100, 100) {
|
if image.dimensions() < (192, 192) {
|
||||||
self.image_filter = widget::image::FilterMethod::Nearest;
|
self.image_filter = widget::image::FilterMethod::Nearest;
|
||||||
}
|
}
|
||||||
self.image = Some(image);
|
self.image = Some(image);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue