This commit is contained in:
Luis Fernando Molina committed 2020-02-10 09:19:18 +01:00
1 parent 3aee61a083
commit 0e731242f5
1 file changed
+1 -5
+1 -5
View File
@@ -198,15 +198,11 @@ function newCanvas () {
if ((event.ctrlKey === true || event.metaKey === true)) {
let constructorParams
switch (event.keyCode) {
case 118: { // F7
case 119: { // F8
downloadCanvas('Superalgos.image.capture')
return
break
}
case 119: { // F8
constructorParams = { format: 'png', name: 'Superalgos.image.capture' }
break
}
case 120: { // F9
constructorParams = { format: 'gif', workersPath: 'externalScripts/', framerate: 12, name: 'Superalgos.video.capture'}
break