Changed functionality of running key, added compatibility with old Mystery Gifts

This commit is contained in:
Maruno17
2021-03-07 19:16:05 +00:00
parent 3a1b9b6dc6
commit 3ca08f27b8
15 changed files with 38 additions and 38 deletions

View File

@@ -296,7 +296,7 @@ class GifBitmap
end
def totalFrames
@totalframes/2 # Due to frame count being incremented by 2
@totalframes/2 # Due to frame count being incremented by 2
end
def disposed?
@@ -311,7 +311,7 @@ class GifBitmap
@gifbitmaps.length==0 ? 0 : @gifbitmaps[0].height
end
# This function must be called in order to animate the GIF image.
# This function must be called in order to animate the GIF image.
def update
return if disposed?
if @gifbitmaps.length>0