Issue #722 Go to next/previous frame

Fixed printing some debug info
This commit is contained in:
Jindra Petřík
2014-11-23 11:36:07 +01:00
parent 1a2ebed898
commit 4c78517715
8 changed files with 151 additions and 21 deletions

View File

@@ -729,6 +729,16 @@ public final class ImagePanel extends JPanel implements ActionListener, MediaDis
@Override
public void gotoFrame(int frame) {
if (timelined == null) {
return;
}
Timeline timeline = timelined.getTimeline();
if (frame >= timeline.getFrameCount()) {
return;
}
if(frame<0){
return;
}
this.frame = frame;
drawFrame();
}