mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
parent
8424213ae4
commit
9c7030b36b
@ -31,8 +31,10 @@ struct Geometry {
|
||||
|
||||
bool covers(int x, int y) const
|
||||
{
|
||||
return x >= pos.x_ && x < pos.x_ + dim.wid
|
||||
&& y >= pos.y_ - dim.asc && y <= pos.y_ + dim.des;
|
||||
return x >= pos.x_
|
||||
&& x <= pos.x_ + dim.wid
|
||||
&& y >= pos.y_ - dim.asc
|
||||
&& y <= pos.y_ + dim.des;
|
||||
}
|
||||
|
||||
int squareDistance(int x, int y) const
|
||||
|
Loading…
Reference in New Issue
Block a user