Rectangle ibounds = new Rectangle(bounds);
ibounds.grow(-fudge, -fudge);
// set up the fingerprint
float fingerRadius = touch().hasTouch() ? 10 : 3;
IPoint fingerPos = pop.pointer == null ? tpos : pop.pointer;
Rectangle fingerBox = new Rectangle(
fingerPos.x() - fingerRadius, fingerPos.y() - fingerRadius,
fingerRadius * 2, fingerRadius * 2);
// try and place the menu so it isn't under the finger
if (!avoidPoint(pop.bounds, ibounds, fingerBox)) {
log.warning("Oh god, menu doesn't fit", "menu", pop.menu);