Merge branch 'feature-save-panel' into feature-resize-panel

This commit is contained in:
jdescottes
2014-02-09 21:12:32 +01:00
2 changed files with 5 additions and 1 deletions

View File

@ -98,7 +98,7 @@
l.removeFrameAt(index);
});
// Current frame index is impacted if the removed frame was before the current frame
if (this.currentFrameIndex >= index) {
if (this.currentFrameIndex >= index && this.currentFrameIndex > 0) {
this.setCurrentFrameIndex(this.currentFrameIndex - 1);
}