clear canvas now has history
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com> Former-commit-id: 6ec970f947ee6a7472a6e376c236885d26f5b276
This commit is contained in:
parent
df5dc32eee
commit
7bb2238056
1 changed files with 6 additions and 1 deletions
|
@ -254,7 +254,12 @@ function newImage(evt) {
|
|||
clearPaintedMask();
|
||||
clearBackupMask();
|
||||
clearTargetMask();
|
||||
clearImgMask();
|
||||
commands.runCommand("eraseImage", "Clear Canvas", {
|
||||
x: 0,
|
||||
y: 0,
|
||||
w: imgCanvas.width,
|
||||
h: imgCanvas.height,
|
||||
});
|
||||
}
|
||||
|
||||
function prevImg(evt) {
|
||||
|
|
Loading…
Reference in a new issue