final
This commit is contained in:
1 parent
3aee61a083
commit
0e731242f5
1 file changed
+1
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user