mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-05 01:54:18 +00:00
#752 Sound is not stopped when you change the selectin in he tag tree from SWF to e.g any shape fixed
This commit is contained in:
@@ -334,6 +334,9 @@ public class PlayerControls extends JPanel implements ActionListener {
|
||||
frameControls.setVisible(display.screenAvailable());
|
||||
int totalFrames = display.getTotalFrames();
|
||||
int currentFrame = display.getCurrentFrame();
|
||||
if (currentFrame >= totalFrames) {
|
||||
currentFrame = totalFrames - 1;
|
||||
}
|
||||
int frameRate = display.getFrameRate();
|
||||
if (totalFrames == 0) {
|
||||
progress.setIndeterminate(true);
|
||||
|
||||
Reference in New Issue
Block a user