Skip to content

Commit

Permalink
fixed event pop up issue Helioviewer-Project#238
Browse files Browse the repository at this point in the history
  • Loading branch information
Helioviewer-Kirill committed Jun 18, 2018
1 parent 34d820e commit 0b0d3f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/UI/TimelineEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,11 +594,11 @@ var TimelineEvents = Class.extend({
}
var x = this.chart.mouseCoords.x;
var y = this.chart.mouseCoords.y;
var xOffset = 5;
var xOffset = 18;
var yOffset = -130;

if (x + 350 > this.chart.plotWidth) {
tooltipX = x - 350;
tooltipX = x - 350 - xOffset;
} else {
tooltipX = x;
}
Expand Down

0 comments on commit 0b0d3f1

Please sign in to comment.