aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkHandles.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2021-08-17 14:13:52 -0400
committerGitHub <noreply@github.com>2021-08-17 14:13:52 -0400
commit330ee3e9553812b1cb5739612912a559fbe1b9dd (patch)
treebf1d4d3e00410934b9922dc666da5f26596c5a2b /src/client/views/InkHandles.tsx
parentbd41980b6d8849c5ae875fbe5325f88373b3640b (diff)
parent252c2a9dd86730e05637e1e32e8487cf064e0c98 (diff)
Merge pull request #30 from brown-dash/ink-gfx-victor
Fixing Selection Line + Circle Shape Control Points
Diffstat (limited to 'src/client/views/InkHandles.tsx')
-rw-r--r--src/client/views/InkHandles.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/InkHandles.tsx b/src/client/views/InkHandles.tsx
index f1eb4b9db..0b24c3c32 100644
--- a/src/client/views/InkHandles.tsx
+++ b/src/client/views/InkHandles.tsx
@@ -11,10 +11,12 @@ import { listSpec } from "../../fields/Schema";
import { List } from "../../fields/List";
import { Cast } from "../../fields/Types";
import { Colors } from "./global/globalEnums";
+import { GestureOverlay } from "./GestureOverlay";
export interface InkHandlesProps {
inkDoc: Doc;
data: InkData;
+ shape?: string;
format: number[];
ScreenToLocalTransform: () => Transform;
}
@@ -68,6 +70,7 @@ export class InkHandles extends React.Component<InkHandlesProps> {
// Accessing the current ink's data and extracting all handle points and handle lines.
const data = this.props.data;
+ const shape = this.props.shape;
const handlePoints: HandlePoint[] = [];
const handleLines: HandleLine[] = [];
if (data.length >= 4) {