From cb3f3e3aabb2ea3e6f034b52e42d762ab1f18d98 Mon Sep 17 00:00:00 2001 From: miqrc Date: Sat, 5 Oct 2019 14:53:29 +0200 Subject: [PATCH] Fix text style --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cddfcd3..2bb55b2 100644 --- a/README.md +++ b/README.md @@ -2406,7 +2406,7 @@ property to `true`, and then set `wordWrapWidth` to the maximum length in pixels, that the line of text should be. Use the `align` property to set the alignment for multi-line text. ```js -message.style = {wordWrap: true, wordWrapWidth: 100, align: center}; +message.style = {wordWrap: true, wordWrapWidth: 100, align: "center"}; ``` (Note: `align` doesn't affect single line text.)