#841 Loop control for sound preview

This commit is contained in:
honfika@gmail.com
2015-04-26 15:50:26 +02:00
parent 28ff32f19c
commit 7803fb78b4
31 changed files with 628 additions and 621 deletions

View File

@@ -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;