mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-18 18:12:10 +00:00
#841 Loop control for sound preview
This commit is contained in:
@@ -254,12 +254,8 @@ public class FolderPreviewPanel extends JPanel {
|
||||
cachedPreviews.put(index, renderImage(treeItem.getSwf(), treeItem));
|
||||
if (!repaintQueued) {
|
||||
repaintQueued = true;
|
||||
View.execInEventDispatchLater(new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
repaint();
|
||||
}
|
||||
View.execInEventDispatchLater(() -> {
|
||||
repaint();
|
||||
});
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user