diff options
author | bobzel <zzzman@gmail.com> | 2020-07-11 20:49:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 20:49:00 -0400 |
commit | ff642c9f9846a182e7ca8893b2ca414bb8ce480f (patch) | |
tree | 534cb1d9b12e95d351595e8f7f11b4573123275c /src/client/documents/Documents.ts | |
parent | bf8c338e662327b39cdef3f90c436447e48d2807 (diff) | |
parent | 49b6ab8536f570ef244199ac39194d3b176c9e77 (diff) |
Merge pull request #438 from browngraphicslab/ink_menu
format shape pane
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index fa85d58f0..26abd4c3c 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -671,7 +671,7 @@ export namespace Docs { I.type = DocumentType.INK; I.layout = InkingStroke.LayoutString("data"); I.color = color; - I.strokeWidth = strokeWidth; + I.strokeWidth = Number(strokeWidth); I.strokeBezier = strokeBezier; I.fillColor = fillColor; I.arrowStart = arrowStart; @@ -685,6 +685,7 @@ export namespace Docs { I._width = options._width; I._height = options._height; I.author = Doc.CurrentUserEmail; + I.rotation = 0; I.data = new InkField(points); return I; // return I; |