From aa1828ec1d5cb31cc197dde648db34d50f34001c Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 14 Feb 2020 07:48:17 +0100 Subject: [PATCH] Bug Fixed, button not working --- Globals.js | 4 ++-- Panels/PanelsVisibleButton.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Globals.js b/Globals.js index 1f38f538a..d0441e059 100644 --- a/Globals.js +++ b/Globals.js @@ -209,8 +209,8 @@ const PERIOD_01_MIN = "01-min"; We define here the size of the chartSpace. It has to bee enough big in order to accomodate all the charts we expect to display in this space. */ -const TIME_MACHINE_WIDTH = 250; -const TIME_MACHINE_HEIGHT = 50; +const TIME_MACHINE_WIDTH = 320; +const TIME_MACHINE_HEIGHT = 120; let mediaRecorder // to downloadText canvas animation as a mediaRecorder let areWeRecording = false diff --git a/Panels/PanelsVisibleButton.js b/Panels/PanelsVisibleButton.js index fe8d20e08..89bb719a0 100644 --- a/Panels/PanelsVisibleButton.js +++ b/Panels/PanelsVisibleButton.js @@ -16,6 +16,7 @@ function newPanelsVisibleButton () { thisObject.container.name = 'Panels Visible Button' thisObject.container.initialize() thisObject.container.isClickeable = true + thisObject.container.isDraggeable = false thisObject.container.frame.containerName = 'Panels Visible Button' let onMouseClickEventSuscriptionId