shape preview fixed

This commit is contained in:
honfika@gmail.com
2014-12-17 15:55:58 +01:00
parent 315ba25475
commit 596dc31137
3 changed files with 4 additions and 0 deletions

View File

@@ -750,6 +750,7 @@ public final class ImagePanel extends JPanel implements ActionListener, MediaDis
int msPerFrame = frameRate == 0 ? 1000 : 1000 / frameRate;
final int cnt = counter;
shouldDraw.set(true);
TimerTask task = new TimerTask() {
public int counter = cnt;
private final AtomicBoolean first = shouldDraw;