mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-04 14:56:16 +00:00
Added multi select using ctrl
This commit is contained in:
@@ -140,3 +140,9 @@ Rect.prototype.top = function()
|
||||
{
|
||||
return this.minPoint.y;
|
||||
};
|
||||
|
||||
Rect.prototype.isIn = function(v)
|
||||
{
|
||||
return this.minPoint.x <= v.x && this.minPoint.y <= v.y &&
|
||||
this.maxPoint.x > v.x && this.maxPoint.y > v.y;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user