diff options
author | Geireann Lindfield Roberts <60007097+geireann@users.noreply.github.com> | 2021-08-17 14:13:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 14:13:52 -0400 |
commit | 330ee3e9553812b1cb5739612912a559fbe1b9dd (patch) | |
tree | bf1d4d3e00410934b9922dc666da5f26596c5a2b /src/client/views/InkHandles.tsx | |
parent | bd41980b6d8849c5ae875fbe5325f88373b3640b (diff) | |
parent | 252c2a9dd86730e05637e1e32e8487cf064e0c98 (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.tsx | 3 |
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) { |