aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorStanley Yip <stanley_yip@brown.edu>2020-05-14 17:23:34 -0700
committerStanley Yip <stanley_yip@brown.edu>2020-05-14 17:23:34 -0700
commitf23fde615bbeb98a93923eab1ee11c2230e67cd5 (patch)
treea3f0744972ac2f35d995bd9a6c97543c78033436 /src/client/documents/Documents.ts
parentb9440e34d89b28acacdd6eed2cda39cd2a1d8c46 (diff)
fixed colorbox and added width slider
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 125a531f4..61df9fbd1 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -607,7 +607,7 @@ export namespace Docs {
return doc;
}
- export function InkDocument(color: string, tool: number, strokeWidth: number, points: { X: number, Y: number }[], options: DocumentOptions = {}) {
+ export function InkDocument(color: string, tool: number, strokeWidth: string, points: { X: number, Y: number }[], options: DocumentOptions = {}) {
const I = new Doc();
I.type = DocumentType.INK;
I.layout = InkingStroke.LayoutString("data");