Update pain.lua

This commit is contained in:
LDDestroier 2018-11-08 20:34:55 -05:00 committed by GitHub
parent 3871a53d93
commit 112b832e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -2970,6 +2970,9 @@ local getInput = function() --gotta catch them all
table.remove(paintEncoded, frame)
paintEncoded = clearAllRedundant(paintEncoded)
barmsg = "Merged next frame."
doRender = true
changedImage = true
saveToUndoBuffer()
end
if key == keys.minus and paintEncoded[frame-1] then
for a = 1, #paintEncoded[frame] do
@ -2978,6 +2981,9 @@ local getInput = function() --gotta catch them all
table.remove(paintEncoded, frame)
paintEncoded = clearAllRedundant(paintEncoded)
barmsg = "Merged next frame."
doRender = true
changedImage = true
saveToUndoBuffer()
end
end
else