Another bug corrected. Arrows painted when control is not visible.

This commit is contained in:
Luis Fernando Molina committed 2019-05-16 13:19:49 +02:00
1 parent abe3c89c96
commit fc2fd805a2
1 file changed
+1
+1
View File
@@ -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