mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-06 07:46:04 +00:00
Textbox HitTest fixed, new GetTextboxPoints optimised
This commit is contained in:
@@ -117,7 +117,7 @@ BaseVertex.prototype.HitTest = function (pos)
|
||||
var lineFinish1 = relativePos.add(new Point(1000, 0));
|
||||
var lineFinish2 = relativePos.add(new Point(-1000, 0));
|
||||
|
||||
var pointsVertex1 = GetPointsForShape(shape, this.model.diameter + width);
|
||||
var pointsVertex1 = GetPointsForShape(shape, this.model.diameter + width, this.mainText);
|
||||
pointsVertex1.push(pointsVertex1[0]);
|
||||
|
||||
var hitNumber1 = 0;
|
||||
|
||||
Reference in New Issue
Block a user