Skip to content

Commit

Permalink
Sync event timestamp with timegraph
Browse files Browse the repository at this point in the history
Signed-off-by: muddana-satish <satish.muddana@ericsson.com>
  • Loading branch information
muddana-satish authored and MatthewKhouzam committed Jan 11, 2021
1 parent cd42151 commit dc7f011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timeline-chart/src/layer/time-graph-chart-cursors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class TimeGraphChartCursors extends TimeGraphChartLayer {
this.unitController.onSelectionRangeChange(() => this.update());
}

protected maybeCenterCursor() {
public maybeCenterCursor() {
if (this.unitController.selectionRange) {
const cursorPosition = this.unitController.selectionRange.end;
if (cursorPosition < this.unitController.viewRange.start || cursorPosition > this.unitController.viewRange.end) {
Expand Down

0 comments on commit dc7f011

Please sign in to comment.