diff options
author | vkalev <vjk1883@gmail.com> | 2021-08-13 10:15:31 -0400 |
---|---|---|
committer | vkalev <vjk1883@gmail.com> | 2021-08-13 10:15:31 -0400 |
commit | b69fe78eadeb2bfa1f284e3e0333734b03b718a9 (patch) | |
tree | 08a7fd8d978fba8a2a25883e051e9bc6570c4ba0 /src/client/views/GestureOverlay.tsx | |
parent | 200585ebdc40b1c9710c8028e4e25965eaa73a9d (diff) |
cleaning up
Diffstat (limited to 'src/client/views/GestureOverlay.tsx')
-rw-r--r-- | src/client/views/GestureOverlay.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/client/views/GestureOverlay.tsx b/src/client/views/GestureOverlay.tsx index cf57ac7a1..bbf21f22c 100644 --- a/src/client/views/GestureOverlay.tsx +++ b/src/client/views/GestureOverlay.tsx @@ -733,7 +733,7 @@ export class GestureOverlay extends Touchable { const centerX = (Math.max(left, right) + Math.min(left, right)) / 2; const centerY = (Math.max(top, bottom) + Math.min(top, bottom)) / 2; const radius = Math.max(centerX - Math.min(left, right), centerY - Math.min(top, bottom)); - // Dividing the circle into four equal sections, and fiting each section to a cubic Bézier curve. + // Dividing the circle into four equal sections, and fitting each section to a cubic Bézier curve. this._points.push({ X: centerX - radius, Y: centerY }); this._points.push({ X: centerX - radius, Y: centerY + (c * radius) }); this._points.push({ X: centerX - (c * radius), Y: centerY + radius }); @@ -754,11 +754,6 @@ export class GestureOverlay extends Touchable { this._points.push({ X: centerX - radius, Y: centerY - (c * radius) }); this._points.push({ X: centerX - radius, Y: centerY }); - // this._points.push({ X: centerX - radius, Y: centerY }); - // this._points.push({ X: centerX - radius, Y: centerY - (c * radius) }); - // this._points.push({ X: centerX - (c * radius), Y: centerY - radius }); - // this._points.push({ X: centerX, Y: centerY - radius }); - break; case "line": |