Fixed webp display, added scroll functionality, cleanup

This commit is contained in:
2023-04-28 19:40:16 -05:00
parent d2c8c1a426
commit 7d30a678ca
5 changed files with 24 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ class Image(Gtk.EventBox):
pixbuf = None
if PImage and path.endswith(".webp"):
return ImageView.image2pixbuf(path, w, h)
pixbuf = ImageView.image2pixbuf(path)
if path.endswith(".gif"):
pixbuf = GdkPixbuf.PixbufAnimation.new_from_file(path).get_static_image()