Corretti limiti selezione
git-svn-id: svn://10.65.10.50/trunk@858 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e3626153e1
commit
14fb7d4d71
@ -291,7 +291,8 @@ bool TViswin::check_link (TPoint * p)
|
||||
|
||||
bool TViswin::in_text (const TPoint & p) const
|
||||
{
|
||||
if (p.x > 5 && p.x < columns () && p.y > 0 && p.y < (rows () - BUTTONROW_SIZE))
|
||||
if (p.x > (X_OFFSET - 1) && p.x < columns() &&
|
||||
p.y > (Y_OFFSET - 1) && p.y < (rows() - BUTTONROW_SIZE))
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user