class BBTimelineFlourishCanvas extends BBTimelineCanvas { constructor(parentEl, el) { super(parentEl, el); } initialiseOptions() { super.initialiseOptions(); const a = this; a.XPos = -1; } Invalidate() { const a = this; a.Clear(); if (a.XPos < 0) { a.Clear(); } else { let posY = 0; if (a.Parent.XAxis.Position == 'top') { posY = a.Parent.Layer.Background.GraphRectangle.Y; } else { posY = (a.Parent.Layer.Background.GraphRectangle.Y + a.Parent.Layer.Background.GraphRectangle.H); } // a.drawVerticalLine(a.XPos, a.Parent.Layer.Background.GraphRectangle.Y, (a.Parent.Layer.Background.GraphRectangle.Y + a.Parent.Layer.Background.GraphRectangle.H), a.Parent.MarkerLabel.Line.Width, a.Parent.HotTrack.Colour); a.drawCircle(a.XPos, posY, a.Parent.HotTrack.Width, 0, a.Parent.HotTrack.Colour, a.Parent.HotTrack.Colour); } } }