From fc2fd805a29041c91878cb98239c41d6a9f8ecbe Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 16 May 2019 13:19:49 +0200 Subject: [PATCH] Another bug corrected. Arrows painted when control is not visible. --- Scales/TimeScale.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Scales/TimeScale.js b/Scales/TimeScale.js index 6c0b9d59d..14b85566a 100644 --- a/Scales/TimeScale.js +++ b/Scales/TimeScale.js @@ -95,6 +95,7 @@ function newTimeScale () { function drawArrows () { if (isMouseOver !== true) { return } + if (thisObject.visible === false || thisObject.date === undefined) { return } const X_OFFSET = thisObject.container.frame.width / 2 const Y_OFFSET = thisObject.container.frame.height / 2 - 10