Merge pull request #1329 from jplsek/tooltip-right-edge
tooltips: hug edge of screen instead of jumping
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user