Update Canvas.js

This commit is contained in:
Luis Fernando Molina committed 2020-09-26 21:12:17 +02:00
1 parent 0890498bda
commit ac1e3ea796
1 file changed
+4 -2
+4 -2
View File
@@ -274,11 +274,13 @@ function newCanvas() {
break
}
case 120: { // F9
constructorParams = { format: 'gif', workersPath: 'externalScripts/', framerate: ANIMATION_FRAME_PER_SECONDS, name: 'Superalgos.Video.Capture' }
console.log('Recording gid with framerate = ' + 24)
constructorParams = { format: 'gif', workersPath: 'externalScripts/', framerate: 24, name: 'Superalgos.Video.Capture' }
break
}
case 121: { // F10
constructorParams = { format: 'webm', framerate: 8, name: 'Superalgos.Video.Capture' }
console.log('Recording gid with framerate = ' + 24)
constructorParams = { format: 'webm', framerate: 24, name: 'Superalgos.Video.Capture' }
break
}
default: return