Mechanism to hide panels when Time Machine is out of Viewport

This commit is contained in:
Luis Fernando Molina committed 2020-01-15 11:41:43 +01:00
1 parent b5ed52131a
commit 4a379fe04d
5 files changed
+61 -97

No files matched your search

+3 -10
View File
@@ -57,21 +57,14 @@ function newAnimation () {
function animationLoop () {
try {
if (window.canvasApp.visible === true) {
/* We set the canvas to its normal width and height */
/* We set the canvas to its normal width and height */
browserCanvas.width = window.innerWidth
browserCanvas.height = window.innerHeight - CURRENT_TOP_MARGIN
/* First thing is to clear the actual canvas */
/* First thing is to clear the actual canvas */
clearBrowserCanvas()
/* Let reset the current chart that is on focus */
window.CHART_ON_FOCUS = ''
/* We loop through the callback functions collections and execute them all. */
/* We loop through the callback functions collections and execute them all. */
let performanceMap = new Map()
let totalTimeConsumed = 0
let totalElements = 0