From 7f9e2ce31e8bc56a3048e5d4d4cb2e70541490ec Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 20 Oct 2020 13:05:32 +0200 Subject: [PATCH] Globals Ready --- BollingerBands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BollingerBands.js b/BollingerBands.js index 1232f004e..4a8683baa 100644 --- a/BollingerBands.js +++ b/BollingerBands.js @@ -536,7 +536,7 @@ continue; } - if (UI.projects.superalgos.spaces.chartingSpace.viewport.zoomTargetLevel < ZOOM_OUT_THRESHOLD_FOR_PACKING_OBJECTS_AT_THE_BOTTOM_OR_TOP_OF_VIEWPORT) { + if (UI.projects.superalgos.spaces.chartingSpace.viewport.zoomTargetLevel < UI.projects.superalgos.globals.zoom.ZOOM_OUT_THRESHOLD_FOR_PACKING_OBJECTS_AT_THE_BOTTOM_OR_TOP_OF_VIEWPORT) { let diffA = bandPoint1.y - UI.projects.superalgos.spaces.chartingSpace.viewport.visibleArea.bottomLeft.y if (diffA > 0) { bandPoint1.y = bandPoint1.y - diffA