aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorStanley Yip <33562077+yipstanley@users.noreply.github.com>2020-01-08 15:34:28 -0500
committerGitHub <noreply@github.com>2020-01-08 15:34:28 -0500
commitfdbe921d80707f2e9006b3f6106d49e4e3f34a28 (patch)
tree322653b2aadc0864fc507596339950d468571a97 /src/client/documents/Documents.ts
parent19a71cb2788b9c1c8d8ced4af285bf91033ba626 (diff)
parent685ba9666929eddac09a09e77a2e4df1322af066 (diff)
Merge pull request #328 from browngraphicslab/pen
Pen
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 304eccc02..e149963b9 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -429,7 +429,7 @@ export namespace Docs {
return InstanceFromProto(Prototypes.get(DocumentType.TEXT), "", options);
}
- export function InkDocument(color: string, tool: number, strokeWidth: number, points: { x: number, y: number }[], options: DocumentOptions = {}) {
+ export function InkDocument(color: string, tool: number, strokeWidth: number, points: { X: number, Y: number }[], options: DocumentOptions = {}) {
const doc = InstanceFromProto(Prototypes.get(DocumentType.INK), new InkField(points), options);
doc.color = color;
doc.strokeWidth = strokeWidth;