From ebb50d2d363fd741353e36d3ae24ee5441c7155c Mon Sep 17 00:00:00 2001 From: Bruce McLean Date: Tue, 28 Jul 2020 09:37:22 -0400 Subject: [PATCH] add direction to edit screen in scripture pane. --- package-lock.json | 2 +- package.json | 2 +- src/VerseEditor/EditScreen.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2035da72..ebae2631 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "tc-ui-toolkit", - "version": "5.3.2", + "version": "5.3.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ab50e6a9..9c23edcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tc-ui-toolkit", - "version": "5.3.2", + "version": "5.3.3", "description": "React components used to develop tools for the desktop app translationCore", "main": "lib/index.js", "display": "library", diff --git a/src/VerseEditor/EditScreen.js b/src/VerseEditor/EditScreen.js index e9eb0d93..d2cb03ed 100644 --- a/src/VerseEditor/EditScreen.js +++ b/src/VerseEditor/EditScreen.js @@ -37,6 +37,7 @@ class EditScreen extends React.Component { const style_ = { ...style, textAlign: isLTR(direction) ? 'left' : 'right', + direction, }; return (
{/*apply desired font size multiplier before font class styling*/}