mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added layer menu in the top bar
Since I've procrastinated a lot and I've finished the things to implement before it, next is history management.
This commit is contained in:
@@ -3,6 +3,34 @@ var redoStates = [];
|
||||
|
||||
const undoLogStyle = 'background: #87ff1c; color: black; padding: 5px;';
|
||||
|
||||
function HistoryStateMergeLayer() {
|
||||
|
||||
}
|
||||
|
||||
function HistoryStateFlattenVisible() {
|
||||
|
||||
}
|
||||
|
||||
function HistoryStateFlattenAll() {
|
||||
|
||||
}
|
||||
|
||||
function HistoryStateRenameLayer() {
|
||||
|
||||
}
|
||||
|
||||
function HistoryStateDeleteLayer() {
|
||||
|
||||
}
|
||||
|
||||
function HistoryStateMoveLayer() {
|
||||
|
||||
}
|
||||
|
||||
function HistoryStateAddLayer() {
|
||||
|
||||
}
|
||||
|
||||
//prototype for undoing canvas changes
|
||||
function HistoryStateEditCanvas () {
|
||||
this.canvas = currentLayer.context.getImageData(0, 0, canvasSize[0], canvasSize[1]);
|
||||
|
Reference in New Issue
Block a user