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:
unsettledgames
2020-06-23 18:10:10 +02:00
parent 6ad27323e5
commit 9032bf4fe9
4 changed files with 71 additions and 31 deletions

View File

@@ -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]);