diff --git a/Canvas.js b/Canvas.js index cc1dad187..8db9aceb5 100644 --- a/Canvas.js +++ b/Canvas.js @@ -204,11 +204,11 @@ function newCanvas () { break } case 120: { // F9 - constructorParams = { format: 'gif', workersPath: 'externalScripts/', framerate: 12, name: 'Superalgos.video.capture'} + constructorParams = { format: 'gif', workersPath: 'externalScripts/', framerate: 8, name: 'Superalgos.video.capture'} break } case 121: { // F10 - constructorParams = { format: 'webm', framerate: 12, name: 'Superalgos.video.capture' } + constructorParams = { format: 'webm', framerate: 8, name: 'Superalgos.video.capture' } break } default: return diff --git a/Spaces/CockpitSpace.js b/Spaces/CockpitSpace.js index 3fd7ac075..4293483e7 100644 --- a/Spaces/CockpitSpace.js +++ b/Spaces/CockpitSpace.js @@ -80,6 +80,17 @@ function resize () { thisObject.container.frame.width = browserCanvas.width thisObject.container.frame.height = COCKPIT_SPACE_HEIGHT + + switch (thisObject.status) { + case 'BOTTOM': { + thisObject.container.frame.position.y = browserCanvas.height - COCKPIT_SPACE_HEIGHT + break + } + case 'TOP': { + thisObject.container.frame.position.y = 0 + break + } + } } function toTop () {