From 72545aebeb8f165d410ac1c73e7baddcbac365e6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Wed, 13 Nov 2019 16:14:12 +0100 Subject: [PATCH] Bigger code editor --- FloatingSpace/CodeEditor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FloatingSpace/CodeEditor.js b/FloatingSpace/CodeEditor.js index c552a55e7..1ed862964 100644 --- a/FloatingSpace/CodeEditor.js +++ b/FloatingSpace/CodeEditor.js @@ -128,8 +128,8 @@ function newCodeEditor () { thisObject.container.frame.position.x = 0 thisObject.container.frame.position.y = 0 - thisObject.container.frame.width = thisObject.container.frame.radius * 1.8 - thisObject.container.frame.height = thisObject.container.frame.radius * 1 + thisObject.container.frame.width = thisObject.container.frame.radius * 1.8 * 2 + thisObject.container.frame.height = thisObject.container.frame.radius * 1 * 2 let textAreaPosition = { x: 0 - thisObject.container.frame.width / 2, @@ -161,7 +161,7 @@ function newCodeEditor () { position = thisObject.container.frame.frameThisPoint(position) - let radius = thisObject.container.frame.radius + let radius = thisObject.container.frame.radius * 2 if (radius > 0.5) { browserCanvasContext.beginPath()