From 3e371e7ff809500a2346e699afb4efad3e1b9645 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sun, 21 Apr 2019 13:13:48 +0200 Subject: [PATCH] Time Control Panels not drawn --- Panels/TimeControlPanel.js | 1 + Spaces/PanelsSpace.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Panels/TimeControlPanel.js b/Panels/TimeControlPanel.js index b56759dc3..7a1b51e8e 100644 --- a/Panels/TimeControlPanel.js +++ b/Panels/TimeControlPanel.js @@ -92,6 +92,7 @@ function newTimeControlPanel () { } function draw () { + return thisObject.container.frame.draw(false, false, true) thisObject.datetimeDisplay.draw() panelTabButton.draw() diff --git a/Spaces/PanelsSpace.js b/Spaces/PanelsSpace.js index 5378671d2..ecd4793a2 100644 --- a/Spaces/PanelsSpace.js +++ b/Spaces/PanelsSpace.js @@ -98,8 +98,6 @@ function newPanelsSpace () { function draw () { thisObject.container.frame.draw(false, false) - /* When we draw a time machine, that means also to draw all the charts in it. */ - thisObject.panels = panelsMap.get('Global') if (thisObject.panels != undefined) { for (var i = 0; i < thisObject.panels.length; i++) {