aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-12-03 14:39:40 -0500
committerbobzel <zzzman@gmail.com>2021-12-03 14:39:40 -0500
commit4bad9d544879f5d59becb2c0e22c9ff5800f2890 (patch)
tree83f88d1163f6ad89161df9fb8bf6bbba9914dc96 /src/client/documents/Documents.ts
parentf92b490d3d54f5847f5f434a4105e88717531527 (diff)
cleaned up text alignment buttons & initialization in formatted text box
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 5c5818f8f..80c3f9168 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -746,6 +746,7 @@ export namespace Docs {
I.strokeEndMarker = arrowEnd;
I.strokeDash = dash;
I.tool = tool;
+ I["text-align"] = "center";
I.title = "ink";
I.x = options.x;
I.y = options.y;