Merge pull request #1329 from jplsek/tooltip-right-edge

tooltips: hug edge of screen instead of jumping
This commit is contained in:
Adam
2018-04-14 18:08:58 -04:00
committed by GitHub

View File

@@ -90,7 +90,7 @@ public class TooltipOverlay extends Overlay
if (boundsX > clientX)
{
graphics.translate(-bounds.width, 0);
graphics.translate(-bounds.width + clientCanvasBounds.width - bounds.x, 0);
}
}