mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 20:04:37 +00:00
various small fixes
This commit is contained in:
@@ -916,7 +916,7 @@ public final class ImagePanel extends JPanel implements ActionListener, MediaDis
|
||||
int msPerFrame = frameRate == 0 ? 1000 : 1000 / frameRate;
|
||||
|
||||
final int cnt = counter;
|
||||
final boolean singleFrame = timeline.getFrameCount() <= 1 && timeline.isSingleFrame();
|
||||
final boolean singleFrame = timeline.getRealFrameCount() <= 1 && timeline.isSingleFrame();
|
||||
shouldDraw.set(true);
|
||||
startTimer(cnt, singleFrame, msPerFrame);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user