1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-25 23:59:02 +02:00

siiiiiigh

This commit is contained in:
Pomax
2020-08-11 18:08:03 -07:00
parent 9b2d0241e6
commit b064c931a5
2 changed files with 17 additions and 14 deletions

View File

@@ -89,6 +89,7 @@ class GraphicsAPI extends BaseAPI {
} else {
for (let i = 0, e = this.moveable.length, p; i < e; i++) {
p = this.moveable[i];
console.log(p, this.cursor);
if (new Vector(p).dist(this.cursor) <= 5) {
this.setCursor(this.HAND);
return; // NOTE: this is a return, not a break.