Fixed webp display, added scroll functionality, cleanup
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user