if the tooltip is huge, this isn't an error

SVN revision: 69205
This commit is contained in:
Mike Blumenkrantz 2012-03-11 21:56:36 +00:00
parent 58d2852b57
commit e55ec71d08
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
else if (ty < 0) ty -= tt->pad.by;
else if (ty > ch) ty += tt->pad.by;
TTDBG("PAD (BORDER): tx=%d,ty=%d\n", tx, ty);
if ((tx < 0) || (ty < 0))
if (((tx < 0) && (tw < cw)) || ((ty < 0) && (th < ch)))
{
TTDBG("POSITIONING FAILED! THIS IS A BUG SOMEWHERE!\n");
abort();