mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Merge branch 'feature-save-panel' into feature-resize-panel
This commit is contained in:
commit
0dc5b2bc31
@ -98,7 +98,7 @@
|
|||||||
l.removeFrameAt(index);
|
l.removeFrameAt(index);
|
||||||
});
|
});
|
||||||
// Current frame index is impacted if the removed frame was before the current frame
|
// 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);
|
this.setCurrentFrameIndex(this.currentFrameIndex - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,6 +92,10 @@
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ns.BaseSelect.prototype.hideHighlightedPixel = function() {
|
||||||
|
// there is no highlighted pixel for selection tools, do nothing
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For each pixel in the selection draw it in white transparent on the tool overlay
|
* For each pixel in the selection draw it in white transparent on the tool overlay
|
||||||
* @protected
|
* @protected
|
||||||
|
Loading…
Reference in New Issue
Block a user