Fixed webp

This commit is contained in:
itdominator 2023-04-27 23:03:02 -05:00
parent 2603aca8c1
commit e5e83b6cd2
1 changed files with 1 additions and 2 deletions

View File

@ -86,6 +86,7 @@ class ImageView(ImageViewMixin, Gtk.Image):
if not self.work_pixbuff:
self.set_as_static(path)
self.pixbuff = self.work_pixbuff
if self.fit_to_win:
self._fit_to_container()
@ -104,8 +105,6 @@ class ImageView(ImageViewMixin, Gtk.Image):
except Exception:
self.work_pixbuff = Gtk.Image.new_from_resource(path).get_pixbuf()
self.pixbuff = self.work_pixbuff
def set_as_webp(self, path):
w = settings.get_thumbnail_with()
h = settings.get_thumbnail_height()