aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkHandles.tsx
diff options
context:
space:
mode:
authorvkalev <vjk1883@gmail.com>2021-07-15 01:27:43 -0500
committervkalev <vjk1883@gmail.com>2021-07-15 01:27:43 -0500
commit48620bbe25f92eb179d53846aae5f0164ca6f1c2 (patch)
tree99dc82c05b9a379e292896d9d3636f57fd5c8e85 /src/client/views/InkHandles.tsx
parent8bc17cecdfce184e5a426dc2332d3c9ad0406f58 (diff)
adding new point creates tangent handle lines + snapping handle tangents not working
Diffstat (limited to 'src/client/views/InkHandles.tsx')
-rw-r--r--src/client/views/InkHandles.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/InkHandles.tsx b/src/client/views/InkHandles.tsx
index a33380221..ba3fdf9db 100644
--- a/src/client/views/InkHandles.tsx
+++ b/src/client/views/InkHandles.tsx
@@ -24,7 +24,6 @@ export class InkHandles extends React.Component<InkControlProps> {
InkStrokeProperties.Instance.moveControl(0, 0, 1);
const controlUndo = UndoManager.StartBatch("DocDecs set radius");
const screenScale = this.props.ScreenToLocalTransform().Scale;
-
const order = handleIndex % 4;
const oppositeHandleIndex = order === 1 ? handleIndex - 3 : handleIndex + 3;
const controlIndex = order === 1 ? handleIndex - 1 : handleIndex + 2;